QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#95827#5226. Emerald ExhibitinglarryzhongAC ✓5ms3524kbC++172.6kb2023-04-11 23:12:292023-04-11 23:12:32

详细

Test #1:

score: 100
Accepted
time: 5ms
memory: 3524kb

input:

110
1 0
2 0
3 0
4 0
5 0
6 0
7 0
8 0
9 0
10 0
1 1
2 1
3 1
4 1
5 1
6 1
7 1
8 1
9 1
10 1
2 2
3 2
4 2
5 2
6 2
7 2
8 2
9 2
10 2
3 3
4 3
5 3
6 3
7 3
8 3
9 3
10 3
4 4
5 4
6 4
7 4
8 4
9 4
10 4
5 5
6 5
7 5
8 5
9 5
10 5
6 6
7 6
8 6
9 6
10 6
7 7
8 7
9 7
10 7
8 8
9 8
10 8
9 9
10 9
10 10
28 19
19 16
151 145
100 ...

output:

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

result:

ok 110 lines