QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505518#5951. Crime Housexiaowuc134 ✓444ms3728kbC++174.9kb2024-08-05 05:53:352024-08-05 05:53:37

詳細信息

Subtask #1:

score: 12
Accepted

Test #1:

score: 12
Accepted
time: 1ms
memory: 3596kb

input:

100
3
E 5
L 0
E 5
2
L 1
L 1
4
L 1
E 0
E 0
L 1
7
L 2
E 0
E 1
E 2
E 0
E 3
L 4
13
L 4
L 1
L 2
E 0
L 1
E 0
L 2
E 0
L 2
E 0
E 0
L 1
L 4
4
E 1
L 0
E 0
L 1
6
E 2
E 1
L 0
E 0
L 1
L 3
15
L 1848
L 1769
E 0
L 0
L 0
E 1769
E 0
E 1389
L 329
L 104
E 104
E 0
L 0
L 1128
L 1732
15
E 0
L 0
E 0
L 0
L 187
L 763
L 0
E 1...

output:

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

result:

ok 100 lines

Subtask #2:

score: 22
Accepted

Test #2:

score: 22
Accepted
time: 444ms
memory: 3728kb

input:

100
3
E 5
L 0
E 5
2
L 1
L 1
4
L 1
E 0
E 0
L 1
7
L 2
E 0
E 1
E 2
E 0
E 3
L 4
13
L 4
L 1
L 2
E 0
L 1
E 0
L 2
E 0
L 2
E 0
E 0
L 1
L 4
4
E 1
L 0
E 0
L 1
6
E 2
E 1
L 0
E 0
L 1
L 3
15
L 1848
L 1769
E 0
L 0
L 0
E 1769
E 0
E 1389
L 329
L 104
E 104
E 0
L 0
L 1128
L 1732
1000
E 0
L 0
E 0
L 0
L 1706
L 588
L 0
...

output:

Case #1: 1
Case #2: CRIME TIME
Case #3: 1
Case #4: 4
Case #5: 0
Case #6: 0
Case #7: 0
Case #8: 2
Case #9: 33
Case #10: 15
Case #11: 49
Case #12: 19
Case #13: CRIME TIME
Case #14: CRIME TIME
Case #15: 0
Case #16: 0
Case #17: 0
Case #18: 0
Case #19: 500
Case #20: 0
Case #21: 1000
Case #22: CRIME TIME
...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed