QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#228081#5415. Ropewayucup-team2174WA 8ms3424kbC++203.9kb2023-10-28 11:37:432023-10-28 11:37:44

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
10 3
5 10 7 100 4 3 12 5 100 1
0001000010
2
2 3
6 15
5 6
1 1 1 1 1
00000
1
3 100
5 6
1 1 1 1 1
00100
1
3 100

output:

206
214
0
100

result:

ok 4 number(s): "206 214 0 100"

Test #2:

score: -100
Wrong Answer
time: 8ms
memory: 3404kb

input:

500
19 6
285203460 203149294 175739375 211384407 323087820 336418462 114884618 61054702 243946442 19599175 51974474 285317523 222489944 26675167 300331960 1412281 324105264 33722550 169011266
1111111110110100011
18
3 127056246
5 100630226
14 301161052
2 331781882
5 218792226
2 190274295
12 49227476
...

output:

2424203302
2076654372
2796055445
2650202148
2312978372
2495819562
2049389466
2521569560
2521569560
1960245820
2577284958
2521569560
2766700195
2502045128
2521569560
2355300412
2669077215
2682112324
470735446
470735446
-47323670
564509290
715543137
470735446
470735446
17
19
19
19
20
19
51
849950346
8...

result:

wrong answer 1st numbers differ - expected: '2472886431', found: '2424203302'