QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#298373 | #6243. دیوارکش | mahdimalverdi | AC ✓ | 88ms | 57176kb | Java11 | 282b | 2024-01-06 04:35:25 | 2024-01-06 04:35:26 |
Judging History
answer
import java.util.Scanner;
class Codechef {
public static void main(String[] args) throws java.lang.Exception {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long b = sc.nextLong();
System.out.println(a % b);
}
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 87ms
memory: 53596kb
input:
5 2
output:
1
result:
ok single line: '1'
Test #2:
score: 0
Accepted
time: 88ms
memory: 53996kb
input:
10 8
output:
2
result:
ok single line: '2'
Test #3:
score: 0
Accepted
time: 83ms
memory: 52860kb
input:
5391001 5066014
output:
324987
result:
ok single line: '324987'
Test #4:
score: 0
Accepted
time: 81ms
memory: 57176kb
input:
5284038939967148 1347989907738960
output:
1240069216750268
result:
ok single line: '1240069216750268'
Test #5:
score: 0
Accepted
time: 74ms
memory: 55056kb
input:
4278297628547089 3988901491261491
output:
289396137285598
result:
ok single line: '289396137285598'