QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#637316#7304. Coins 2nullptr_qwqWA 4ms3728kbC++20749b2024-10-13 12:07:392024-10-13 12:07:39

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
0 1 2
3
0 2 3

output:

6
12

result:

ok 2 number(s): "6 12"

Test #2:

score: 0
Accepted
time: 2ms
memory: 3728kb

input:

1
0
15
1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000

output:

1
120000000001

result:

ok 2 number(s): "1 120000000001"

Test #3:

score: -100
Wrong Answer
time: 4ms
memory: 3600kb

input:

5
0 2 1 0 0
5
0 0 0 0 53
5
0 6 3 0 0
5
1 0 0 0 1
5
1 0 0 0 0
5
2 0 0 0 116
5
2 0 0 0 0
5
1 0 1 106 1356
5
0 2 0 0 7926
5
0 0 2 1 2004
5
1 0 0 0 1
5
0 0 0 1 5
5
0 0 0 0 0
5
0 1 32840 0 1
5
2 0 0 0 12
5
2 0 0 1 1
5
0 1 79 56770 10
5
1 0 0 1 0
5
0 1 1 2 52165
5
0 0 0 0 1
5
0 0 1 13 0
5
0 0 0 1 10
5
0 0...

output:

6
54
20
4
2
351
3
7208
38635
10029
4
12
1
98526
39
10
227369
4
260838
2
28
22
114
78
76
4
280
233
8
1
12
214575
10
2
1
1
2
108
21699
19407
250078
55578
4
104
282
45420
1687
3953
8
28483
6
4
3978
8
10
102
4
793
69
2
17558
4
241843
84
36590
3
5577
11
25
2
32458
127
33100
2
3
8
116
4
6
260
4
6
29028
4
...

result:

wrong answer 8th numbers differ - expected: '7207', found: '7208'