QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#298370#6243. دیوارکشmahdimalverdiRE 87ms58328kbJava11276b2024-01-06 04:34:072024-01-06 04:34:07

Judging History

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

  • [2024-01-06 04:34:07]
  • 评测
  • 测评结果:RE
  • 用时:87ms
  • 内存:58328kb
  • [2024-01-06 04:34:07]
  • 提交

answer

import java.util.Scanner;

class Codechef {
    public static void main(String[] args) throws java.lang.Exception {
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();
        int 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: 87ms
memory: 58328kb

input:

5 2

output:

1

result:

ok single line: '1'

Test #2:

score: 0
Accepted
time: 86ms
memory: 55400kb

input:

10 8

output:

2

result:

ok single line: '2'

Test #3:

score: 0
Accepted
time: 85ms
memory: 56972kb

input:

5391001 5066014

output:

324987

result:

ok single line: '324987'

Test #4:

score: -100
Runtime Error

input:

5284038939967148 1347989907738960

output:


result: