QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#679711#4631. Interesting String Problemucup-team5248#WA 111ms40592kbC++205.1kb2024-10-26 18:13:522024-10-26 18:13:52

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 26196kb

input:

pbpbppb
3
1
2
3

output:

2
4
7

result:

ok 3 lines

Test #2:

score: 0
Accepted
time: 5ms
memory: 26224kb

input:

potatop
3
6
30
60

output:

6
3
4

result:

ok 3 lines

Test #3:

score: -100
Wrong Answer
time: 111ms
memory: 40592kb

input:

dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd...

output:

216
755
476
792
355
185
942
647
369
77
703
647
589
409
382
257
246
561
715
792
866
358
426
526
756
370
661
642
313
781
704
240
112
857
751
190
903
794
430
819
299
380
501
222
453
766
305
219
840
393
301
943
751
473
714
489
524
886
168
348
515
500
446
861
586
401
465
231
455
752
766
212
714
334
455
3...

result:

wrong answer 1st lines differ - expected: '323', found: '216'