QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505501#5881. Dancing With the Googlersxiaowuc120 ✓0ms3832kbC++172.3kb2024-08-05 05:46:582024-08-05 05:46:59

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 0ms
memory: 3544kb

input:

100
3 1 5 15 13 11
3 0 8 23 22 21
1 0 8 21
2 0 7 17 21
3 0 4 9 15 14
2 0 0 30 28
3 1 3 13 5 6
1 1 7 13
2 1 1 0 25
2 1 8 21 22
3 3 0 4 10 9
1 1 2 6
2 0 3 5 25
3 2 3 11 12 28
2 2 4 7 25
2 0 9 7 29
3 0 0 30 30 30
2 0 9 26 4
2 1 0 19 2
3 3 5 8 14 5
1 0 8 20
3 0 10 30 30 30
3 0 2 27 21 2
2 0 10 26 26
1 0...

output:

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

result:

ok 100 lines

Subtask #2:

score: 10
Accepted

Test #2:

score: 10
Accepted
time: 0ms
memory: 3832kb

input:

100
6 2 8 29 20 8 18 18 21
69 35 7 14 17 29 6 9 0 24 21 15 2 3 19 3 19 0 26 1 14 7 24 5 9 16 4 19 25 30 25 9 25 14 5 19 9 2 9 22 19 25 20 6 4 18 25 18 16 14 11 27 7 15 18 18 26 13 12 5 14 12 19 14 13 12 11 22 19 26 18 15
97 23 5 21 5 5 5 21 29 18 30 23 21 21 14 0 13 2 2 2 7 21 18 5 18 12 8 3 8 13 1 ...

output:

Case #1: 3
Case #2: 30
Case #3: 66
Case #4: 14
Case #5: 8
Case #6: 6
Case #7: 90
Case #8: 5
Case #9: 85
Case #10: 33
Case #11: 20
Case #12: 1
Case #13: 19
Case #14: 7
Case #15: 18
Case #16: 18
Case #17: 96
Case #18: 27
Case #19: 17
Case #20: 24
Case #21: 29
Case #22: 28
Case #23: 46
Case #24: 6
Case...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed