QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#232403#5415. Ropewayucup-team2174WA 7ms3840kbC++203.4kb2023-10-30 12:56:262023-10-30 12:56:27

詳細信息

Test #1:

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

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

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:

214786115
179279867
537955129
419511751
297441867
278004164
312696720
498335458
297191794
198075849
502076382
297191794
560574353
468975503
297191794
331933529
410976899
593023274
146144035
146144035
82856901
435660303
390951726
146144035
470735446
3
5
6
6
5
5
37
849950346
849950346
849950346
849950...

result:

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