QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#429644#1832. Crab's CannonZhaoZiLongWA 1ms4112kbC++202.1kb2024-06-02 18:46:032024-06-02 18:46:05

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3812kb

input:

3 7
1 3 7
4 12
7 1 3 9
3 16
16 1 8
0 0

output:

3
5
3

result:

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

Test #2:

score: 0
Accepted
time: 0ms
memory: 4112kb

input:

2 1048576
1 1048576
2 1048576
1048576 1
2 1048576
51135 13546
2 1048576
13546 51135
2 1048576
1 51135
2 1048576
51135 1
1 1048576
1
1 1048576
1048576
1 1048576
51135
2 104857600000000000
1 104857600000000000
2 104857600000000000
104857600000000000 1
2 104857600000000000
5113500000000 13546
2 1048576...

output:

2
2
3
3
2
2
1
2
2
2
2
3
3
2
2
1
2
2
2
3
3

result:

ok 21 numbers

Test #3:

score: 0
Accepted
time: 1ms
memory: 3796kb

input:

5 96
7 12 61 37 93
4 100
63 2 16 35
5 88
7 43 70 23 8
4 29
22 7 5 14
1 2
2
2 3
2 3
0 0

output:

93
6
70
22
2
3

result:

ok 6 numbers

Test #4:

score: -100
Wrong Answer
time: 0ms
memory: 3760kb

input:

2 104857600000000000
1357531731857153 1357531731857152
2 1000000000000000000
1000000000000000000 999999999999999999
2 1000000000000000000
1000000000000000000 999999999999999998
2 1000000000000000000
1000000000000000000 999999999999999997
2 1000000000000000000
1000000000000000000 999999999999999996
2...

output:

1357531731857153
1000000000000000000
1000000000000000000
333333333333333334
1000000000000000000
1000000000000000000
333333333333333334
142857142857142858
1000000000000000000
111111111111111112
1000000000000000000
1000000000000000000
1000000000000000000
1000000000000000000
1000000000000000000
1000000...

result:

wrong answer 5th numbers differ - expected: '250000000000000001', found: '1000000000000000000'