QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#649665#6802. Yet Another Geometry ProblemFantasy_BallWA 764ms4092kbC++201.4kb2024-10-18 08:41:452024-10-18 08:41:45

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 764ms
memory: 4092kb

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:

25
25
4
4
9
9
9
9
9
1
9
4
4
4
4
762590013696
200892204100
673389283609
1902319528516
387458941444
460503388816
541660672576
440783127225
682637835961
485669610000
311964697444
263216198116
224437167504
614527430724
1175875646884
275337375076
610021919521
621792177444
467594748481
291646441849
583463...

result:

wrong answer 7th lines differ - expected: '0', found: '9'