QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505562#5975. Drum Decoratorxiaowuc130 ✓1ms3596kbC++172.8kb2024-08-05 06:08:382024-08-05 06:08:38

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 11
Accepted

Test #1:

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

input:

20
5 4
4 4
6 4
4 3
5 3
3 3
4 6
6 6
2 4
6 5
3 5
2 6
5 6
6 3
4 5
2 3
5 5
3 4
3 6
2 5

output:

Case #1: 3
Case #2: 1
Case #3: 4
Case #4: 3
Case #5: 3
Case #6: 2
Case #7: 5
Case #8: 19
Case #9: 1
Case #10: 2
Case #11: 2
Case #12: 3
Case #13: 5
Case #14: 6
Case #15: 1
Case #16: 2
Case #17: 1
Case #18: 3
Case #19: 2
Case #20: 1

result:

ok 20 lines

Subtask #2:

score: 19
Accepted

Test #2:

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

input:

100
58 15
3 3
52 6
80 86
94 81
91 92
83 85
70 93
100 100
81 99
69 68
83 91
42 27
80 93
84 89
60 40
88 30
45 78
59 75
89 95
59 23
17 8
32 57
89 100
12 24
91 51
42 8
67 44
44 76
94 99
2 3
4 72
5 72
95 95
90 85
81 94
97 98
62 4
92 92
96 88
2 4
38 60
2 5
2 6
68 20
94 90
19 30
76 63
40 78
87 97
99 93
3 6...

output:

Case #1: 57418771
Case #2: 2
Case #3: 957363586
Case #4: 1
Case #5: 974106380
Case #6: 59841855
Case #7: 1
Case #8: 263534504
Case #9: 151245779
Case #10: 687629816
Case #11: 957921144
Case #12: 1
Case #13: 2695689
Case #14: 86830690
Case #15: 2
Case #16: 659584378
Case #17: 994251162
Case #18: 7589...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed