Toggle navigation
CDUTCMOJ
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Language
中文
ئۇيغۇرچە
English
فارسی
ไทย
한국어
Problem1065--求余
1065: 求余
[Creator :
]
Time Limit :
1
sec
Memory Limit :
128 MB
Solved: 30
Submit: 112
Statistics
Description
给定除数和被除数,求余数。
Input
多组测试数据
,
每组测试数据包含两个整数
n,k(1<=n<=10^2000,1<=k<=1000)
Output
对于每组测试数据
,
输出
n%k
Sample Input
Copy
12 4 12 5
Sample Output
Copy
0 2
Source/Category