QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#754287#9552. The Chariotucup-team5347#WA 1ms3580kbC++141.0kb2024-11-16 14:40:322024-11-16 14:40:32

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5
160 27 41 3 12 3
160 27 41 3 12 4
160 27 41 3 12 99
1 999 999 1 99 999
999 999 1 1 99 9999999999999999

output:

160
187
3226
999
10000000000099799

result:

ok 5 lines

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 3580kb

input:

2077
63 88 64 47 55 88
4 75 38 53 33 41
41 1 28 6 13 100
57 88 77 35 5 48
100 36 97 24 93 87
57 25 26 84 62 18
29 11 33 88 86 71
33 16 7 4 73 68
50 65 72 14 43 78
15 31 72 42 39 29
31 10 76 58 35 89
39 55 99 11 16 82
21 18 57 44 80 16
38 31 99 58 59 69
24 22 69 76 14 83
96 40 56 31 14 36
75 84 27 57...

output:

3671
4
311
114
840
57
29
561
300
15
341
312
21
379
178
296
663
130
97
636
76
32
146
180
39
138
36
605
30
23
88
76
285
20
330
325
174
400
32
36
1
36
30
720
3386
179
17
224
83
102
166
86
52
81
25
44
8
21
783
49
51
926
55
82
31
85
1180
995
158
21
84
875
156
51
145
2337
1358
86
2
73
83
5
401
117
44
171
...

result:

wrong answer 1st lines differ - expected: '126', found: '3671'