QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#298372#6243. دیوارکشmahdimalverdiRE 68ms37816kbJava11280b2024-01-06 04:35:032024-01-06 04:35:03

Judging History

你现在查看的是最新测评结果

  • [2024-01-06 04:35:03]
  • 评测
  • 测评结果:RE
  • 用时:68ms
  • 内存:37816kb
  • [2024-01-06 04:35:03]
  • 提交

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.nextInt();
        long b = sc.nextInt();

        System.out.println(a % b);
    }
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 66ms
memory: 37680kb

input:

5 2

output:

1

result:

ok single line: '1'

Test #2:

score: 0
Accepted
time: 65ms
memory: 37492kb

input:

10 8

output:

2

result:

ok single line: '2'

Test #3:

score: 0
Accepted
time: 68ms
memory: 37816kb

input:

5391001 5066014

output:

324987

result:

ok single line: '324987'

Test #4:

score: -100
Runtime Error

input:

5284038939967148 1347989907738960

output:


result: