QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#298373#6243. دیوارکشmahdimalverdiAC ✓88ms57176kbJava11282b2024-01-06 04:35:252024-01-06 04:35:26

Judging History

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

  • [2024-01-06 04:35:26]
  • 评测
  • 测评结果:AC
  • 用时:88ms
  • 内存:57176kb
  • [2024-01-06 04:35:25]
  • 提交

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'