QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#811360#9326. Gameucup-team3583#WA 34ms3812kbC++201.8kb2024-12-12 18:33:182024-12-12 18:33:19

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
6 2
1 1 2 2 1 1
2 1 3 2 1 1
2 3 1 -1 -1 1
4 4
1 1 1 1
2 2 1 1
-1 -3 -2 -4

output:

3
-9

result:

ok 2 number(s): "3 -9"

Test #2:

score: -100
Wrong Answer
time: 34ms
memory: 3616kb

input:

26667
8 0
7 3 3 3 1 1 1 3
7 7 5 4 1 2 2 7
46 31 41 67 61 100 52 36
10 7
8 3 7 4 6 2 4 3 8 1
10 4 8 5 10 5 4 3 9 1
56 26 -6 92 91 82 33 12 -3 54
5 5
2 1 1 1 1
4 3 3 2 1
-10 73 88 10 8
6 5
1 3 5 2 1 1
3 4 6 3 1 1
81 24 99 45 -1 52
9 0
4 7 1 3 1 2 1 2 1
7 7 7 4 5 4 3 2 1
-3 8 80 12 31 71 70 51 14
5 5
3...

output:

36
-9
106
75
153
31
99
67
53
70
20
-2
132
72
148
126
190
153
287
29
204
155
-3
90
41
47
136
78
65
207
27
208
76
149
66
101
65
53
69
71
111
134
156
110
54
214
61
99
51
38
92
34
95
20
89
0
78
134
50
98
51
205
116
81
0
124
68
170
248
60
87
160
174
123
101
60
65
193
320
-6
167
188
113
198
201
171
-3
0
8...

result:

wrong answer 2nd numbers differ - expected: '0', found: '-9'