QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#649662#6802. Yet Another Geometry ProblemFantasy_BallWA 455ms3988kbC++201.4kb2024-10-18 08:39:572024-10-18 08:39:58

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3988kb

input:

1
5 5
1 4
2 1
3 2
4 1
4 4
3
3 1
2 3
4 3

output:

4
9
4

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 455ms
memory: 3912kb

input:

10
5 0
2
1 1
4 4
5 5
1 4
2 1
3 2
4 1
4 4
3
3 1
4 3
2 3
6 5
1 3
2 3
3 3
4 3
5 3
3
5 2
5 3
5 4
6 5
3 1
3 2
3 3
3 4
3 5
3
2 1
3 1
4 1
6 9
3 3
4 4
5 5
1 1
2 2
1 5
5 1
4 2
2 4
4
1 3
5 3
2 1
4 5
1000000000 5000
2010137 9193310
22814417 27301098
7092651 1468794
32719415 26016837
11683091 8204561
8225991 10...

output:

0
1
0
1
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

result:

wrong answer 1st lines differ - expected: '25', found: '0'