QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#795385#9804. Guess the Polygonucup-team216#WA 1ms4188kbC++236.8kb2024-11-30 20:04:032024-11-30 20:04:04

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3956kb

input:

2
4
3 0
1 3
1 1
0 0
1 1
3 2
3
0 0
999 1000
1000 999
1999 1000

output:

? 1 2
? 3 2
! 3 1
? 999 1
! 1999 2

result:

ok correct! (2 test cases)

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 4188kb

input:

9
4
1 1
1 3
3 0
0 0
3 2
3 4
4
0 0
1 3
1 1
3 0
1 2
9 4
4
0 0
3 0
1 2
1 1
1 2
3 4
4
0 0
3 0
1 2
1 1
1 1
3 4
4
0 0
3 0
1 1
1 2
1 2
3 2
3
1000 0
0 0
0 1000
1000 1
4
0 0
1000 0
1000 1000
0 1000
1000 1
1000 1
5
0 1
1000 1000
1000 0
0 1000
1 0
999 1
1000 1
1000 1
9
4 1000
3 1
2 1000
3 1000
1 1
2 1
0 0
1 10...

output:

? 1 2
? 3 2
! 5 2
? 1 2
? 3 2
! 7 2
? 1 2
? 3 2
! 3 2
? 1 2
? 3 2
! 2 1
? 1 2
? 3 2
! 5 2
? 0 1
! 500000 1
? 0 1
? 1000 1
! 1000000 1
? 0 1
? 1 1
? 1000 1
! 1999999 2
? 1 2
? 3 2
? 3 2
? 5 2
? 5 2
? 7 2
? 4 1
! 2001 2

result:

wrong answer the answer is incorrect, expect: 4003/2, find: 2001/2 (test case 9)