poj3980

简单题

View Code
#include <iostream>
#include
<cstdio>
#include
<cstdlib>
#include
<cstring>
using namespace std;

int main()
{
//freopen("t.txt", "r", stdin);
int a, b;
while (scanf("%d%d", &a, &b)!= EOF)
printf(
"%d\n", a % b);
return 0;
}

原文地址:https://www.cnblogs.com/rainydays/p/2096893.html