QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505490#5901. Zombie Smashxiaowuc125 ✓16ms3668kbC++171.6kb2024-08-05 05:43:512024-08-05 05:43:52

詳細信息

Subtask #1:

score: 7
Accepted

Test #1:

score: 7
Accepted
time: 1ms
memory: 3616kb

input:

100
4
1 0 0
-1 0 0
10 10 1000
10 -10 1000
3
1 1 0
2 2 0
3 3 0
5
10 10 1000
-10 10 1000
10 -10 1000
-10 -10 1000
20 20 2000
1
0 0 0
1
-11 0 99
1
-11 0 100
2
0 0 251
7 0 0
2
0 0 250
7 0 0
1
0 0 100000000
2
0 0 100000000
1 0 100000000
1
1000 1000 100000000
5
0 6 600
0 14 1400
0 22 2200
0 -6 600
0 -14 1...

output:

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

result:

ok 100 lines

Subtask #2:

score: 18
Accepted

Test #2:

score: 18
Accepted
time: 16ms
memory: 3668kb

input:

100
4
1 0 0
-1 0 0
10 10 1000
10 -10 1000
3
1 1 0
2 2 0
3 3 0
5
10 10 1000
-10 10 1000
10 -10 1000
-10 -10 1000
20 20 2000
1
0 0 0
1
-11 0 99
1
-11 0 100
2
0 0 251
7 0 0
2
0 0 250
7 0 0
1
0 0 100000000
2
0 0 100000000
1 0 100000000
1
1000 1000 100000000
5
0 6 600
0 14 1400
0 22 2200
0 -6 600
0 -14 1...

output:

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

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed