QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#299457#5755. Milkshakesucup-team100525 34ms10240kbPython31.5kb2024-01-06 21:20:472024-01-06 21:20:47

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 24ms
memory: 9556kb

input:

100
8
14
3 1 0 8 0 6 0
2 8 0 7 1
2 8 0 2 0
5 4 0 5 1 8 0 6 0 3 0
6 4 0 8 0 2 0 6 0 5 1 1 0
4 6 0 1 0 2 0 4 0
1 2 0
1 5 1
2 3 0 7 1
1 7 1
4 2 0 4 0 3 0 7 1
2 3 0 5 1
4 5 1 6 0 3 0 1 0
1 7 1
3
8
1 3 0
1 1 0
2 3 0 1 0
1 2 1
1 2 1
1 3 0
1 1 0
2 3 0 2 1
5
41
1 3 0
1 3 0
1 2 0
1 4 0
1 2 0
1 3 0
3 4 0 2 0 ...

output:

Case #1: 0 0 0 0 1 0 1 0 
Case #2: 0 1 0 
Case #3: IMPOSSIBLE
Case #4: 0 0 0 0 0 0 1 0 0 0 
Case #5: 0 1 
Case #6: IMPOSSIBLE
Case #7: 1 1 1 1 1 0 0 0 0 0 
Case #8: IMPOSSIBLE
Case #9: 1 1 1 1 1 1 1 1 1 1 
Case #10: IMPOSSIBLE
Case #11: 0 1 0 0 0 0 0 
Case #12: 0 1 0 
Case #13: 1 0 
Case #14: 0 0 1 ...

result:

wrong answer 6th lines differ - expected: 'Case #6: 0 0 0 1 1 1', found: 'Case #6: IMPOSSIBLE'

Subtask #2:

score: 25
Accepted

Test #2:

score: 25
Accepted
time: 34ms
memory: 10240kb

input:

5
1684
501
33 1377 0 1254 0 730 0 1266 0 222 0 1399 0 533 0 739 0 128 0 966 0 1441 0 109 0 942 0 1245 0 1639 0 1089 0 1536 0 1103 0 673 0 1082 0 257 0 1607 0 1526 0 110 0 1592 0 548 0 187 0 264 0 1460 0 1033 0 516 0 1231 0 1373 1
1 879 1
35 356 0 332 0 1463 0 890 0 1513 0 1069 0 913 0 1425 0 1232 0 ...

output:

Case #1: 1 0 1 0 0 0 0 0 0 0 0 1 0 0 1 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1 0 0 1 0 1 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...

result:

ok 5 lines