QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505575#5959. Standing Ovationxiaowuc117 ✓22ms10712kbPython3273b2024-08-05 06:11:272024-08-05 06:11:28

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 7
Accepted

Test #1:

score: 7
Accepted
time: 0ms
memory: 10704kb

input:

100
1 21
2 501
6 0000001
6 0000021
4 80001
6 1111121
6 0000011
2 515
2 021
5 300161
1 01
4 00001
0 1
6 2102121
6 2111201
6 0330001
2 001
6 0300601
4 11111
6 1034076
6 6479132
1 23
6 8169566
6 4112363
6 0000007
0 1
6 0005043
2 445
0 1
6 1021221
6 8506911
6 0000301
6 0400006
1 02
2 002
4 00001
6 00039...

output:

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

result:

ok 100 lines

Subtask #2:

score: 10
Accepted

Test #2:

score: 10
Accepted
time: 22ms
memory: 10712kb

input:

100
875 0000300002000109030000004000000000000000000600000000002003070600000700000700002805100000040090001008009006000000000000000000003030755000000000600000000800000400004400009006000000000005042000000000000000800000000020060030000000006002706000100500000000200348300002005000060045000240000000060000...

output:

Case #1: 85
Case #2: 0
Case #3: 90
Case #4: 0
Case #5: 0
Case #6: 1
Case #7: 0
Case #8: 63
Case #9: 0
Case #10: 0
Case #11: 0
Case #12: 5
Case #13: 0
Case #14: 20
Case #15: 0
Case #16: 180
Case #17: 0
Case #18: 36
Case #19: 0
Case #20: 20
Case #21: 0
Case #22: 53
Case #23: 0
Case #24: 1000
Case #25:...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed