QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#392964#6134. Soldier Gameucup-team2880WA 755ms21892kbC++202.7kb2024-04-18 00:32:252024-04-18 00:32:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
5
-1 4 2 1 1
4
1 3 2 4
1
7

output:

1
2
0

result:

ok 3 number(s): "1 2 0"

Test #2:

score: -100
Wrong Answer
time: 755ms
memory: 21892kb

input:

10010
1
1000000000
1
-1000000000
2
1000000000 -1000000000
4
1000000000 1000000000 -1000000000 -1000000000
3
100 -100 100
16
-17 91 -19 66 100 -70 -71 76 -58 99 52 19 25 -67 -63 -32
7
-95 -26 63 -55 -19 77 -100
17
-100 72 -53 -32 8 -100 53 44 -100 -65 -81 -59 100 100 57 -47 1
11
99 10 -100 3 32 2 -26...

output:

38
109
119
126
158
189
70
0
38
999804364
188
161
0
116
116
200
0
101
200
36
0
183
139
0
183
107
139
0
178
85993
126
153
168
163
96
53
96
52
126
47
130
79
0
123
188
173
33
0
83
1999835619
175
188
107
49
53
0
152
185
84
170
96
200
18
182
0
183
0
75
86
1999783692
138
134
200
103
156
30
182
10
75
183
13...

result:

wrong answer 1st numbers differ - expected: '0', found: '38'