View Code of Problem 3495

#include<iostream>
using namespace std;
int main(void){
	int n,m;
	while(cin>>n>>m){
		cout<<n%m<<endl;
	}
}

Double click to view unformatted code.


Back to problem 3495