Poj Solution 3980

http://poj.org/problem?id=3980

#include <stdio.h>
int mod(int n, int m){
   return n%m;
}
int main(){
    int m,n;
    while(scanf("%d%d",&n,&m)!=EOF){
      printf("%dn",mod(n,m));
    }
return 0;
}
											
This entry was posted in poj. Bookmark the permalink.