QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505577#5961. Dijkstraxiaowuc128 ✓6ms3672kbC++173.0kb2024-08-05 06:11:472024-08-05 06:11:49

詳細信息

Subtask #1:

score: 11
Accepted

Test #1:

score: 11
Accepted
time: 0ms
memory: 3616kb

input:

100
5 1805
ikiij
2 4546
ik
10000 1
jjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiijjiij...

output:

Case #1: YES
Case #2: YES
Case #3: NO
Case #4: NO
Case #5: NO
Case #6: NO
Case #7: NO
Case #8: YES
Case #9: YES
Case #10: YES
Case #11: NO
Case #12: YES
Case #13: NO
Case #14: YES
Case #15: YES
Case #16: NO
Case #17: YES
Case #18: NO
Case #19: NO
Case #20: YES
Case #21: NO
Case #22: NO
Case #23: YES...

result:

ok 100 lines

Subtask #2:

score: 17
Accepted

Test #2:

score: 17
Accepted
time: 6ms
memory: 3672kb

input:

100
4467 144279923848
jjkijikikikjkkkjiijjijkjiiiiiiijikkiiijjkijiijjkijkjiijikjjjjkikiiikikjjjjiijjjijiiijijikiiikkjiikijiiiikkjkjjkjkkikkjkiikjijkijikkjjikkiijkjiikjjijjkikikkjkjjjjikiiikjjjjikkkiijikiijjjkijkkkkikiiijkjjkkjikkijkjkkkikkjkjjkikjjjkjijjjkkijiiijiiiiikikkkiijiiijjikkjkjkjiijjijijjij...

output:

Case #1: NO
Case #2: YES
Case #3: NO
Case #4: YES
Case #5: NO
Case #6: NO
Case #7: NO
Case #8: YES
Case #9: NO
Case #10: YES
Case #11: NO
Case #12: NO
Case #13: NO
Case #14: YES
Case #15: NO
Case #16: NO
Case #17: YES
Case #18: YES
Case #19: YES
Case #20: YES
Case #21: NO
Case #22: NO
Case #23: NO
C...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed