QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#500378#6706. SekiroGuanYunchangWA 3ms3864kbC++20432b2024-08-01 10:40:192024-08-01 10:40:20

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3864kb

input:

4
10 1
7 1
10 2
7 2

output:

5
4
3
2

result:

ok 4 number(s): "5 4 3 2"

Test #2:

score: -100
Wrong Answer
time: 3ms
memory: 3832kb

input:

1000
442956297 12
982332962 27
497083098 816382285
396247623 24
898041447 407271792
763055147 14
352462601 16
519828345 6
219558285 10
325702476 354976208
490357788 107179876
390383594 636902929
169308923 21552242
657869544 9
435305129 833496936
300697250 24
320657401 4
896954688 877519779
679896094...

output:

108144
8
1
24
1
46574
5379
8.12232e+06
214413
1
1
1
1
1.2849e+06
1
18
2.00411e+07
1
2.12468e+07
5480
553
226
3.87701e+06
3.16284e+06
1
1
0
3.3062e+08
1.16818e+06
1
10463
1
2
0
1
0
1
1
91795
2.29187e+07
0
364
26026
66
1
4
15291
1
1
10
0
3.54351e+07
1
1
13899
1
6616
1
117
1
30576
1
1
1.01268e+08
1
1
4...

result:

wrong output format Expected integer, but "8.12232e+06" found