QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#786209#5415. RopewayZhaoZiLongWA 1ms8012kbC++202.7kb2024-11-26 20:44:182024-11-26 20:44:19

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 0ms
memory: 8012kb

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:

2472886431
2299111966
2796055445
2650202148
2417273966
2508694561
2285479513
2240907690
2577284958
2766700195
2511807344
2438434986
2669077215
2682112324
211705888
564509290
715543137
18
19
19
19
20
54
5
5
5
3
3
867859782
993290939
875592473
853390571
3190971501
3913534303
3424207290
3670547612
3185...

result:

wrong answer 8th numbers differ - expected: '2521569560', found: '2240907690'