#P3980. 取模运算
取模运算
Description
编写一个C函数mod(int n, int m),实现取模运算%
Input
输入包含多行数据
每行数据是两个整数a, b (1 <= a, b <= 32767)
数据以EOF结束
Output
于输入的每一行输出a%b
5 3
100 2
2
0
编写一个C函数mod(int n, int m),实现取模运算%
输入包含多行数据
每行数据是两个整数a, b (1 <= a, b <= 32767)
数据以EOF结束
于输入的每一行输出a%b
5 3
100 2
2
0
By signing up a SAST OJ universal account, you can submit code and join discussions in all online judging services provided by us.