QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#801644#9804. Guess the Polygonucup-team3685#WA 30ms6788kbC++204.6kb2024-12-07 04:42:282024-12-07 04:42:29

詳細信息

Test #1:

score: 100
Accepted
time: 30ms
memory: 6788kb

input:

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

output:

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

result:

ok correct! (2 test cases)

Test #2:

score: -100
Wrong Answer
time: 23ms
memory: 6652kb

input:

9
4
1 1
1 3
3 0
0 0
2 1
5 6
4
0 0
1 3
1 1
3 0
2 3
5 2
4
0 0
3 0
1 2
1 1
2 3
5 6
4
0 0
3 0
1 2
1 1
4 3
5 6
4
0 0
3 0
1 1
1 2
2 3
5 3
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:

? 2 3
? 4 3
! 5 2
? 2 3
? 4 3
! 7 2
? 2 3
? 4 3
! 3 2
? 2 3
? 4 3
! 2 1
? 2 3
? 4 3
! 5 2
? 0 1
! 500000 1
? 0 1
? 1000 1
! 1000000 1
? 0 1
? 1 1
? 1000 1
! 1999999 2
? 2 3
? 4 3
? 5 3
? 7 3
? 8 3
? 10 3
? 4 1
! 4669 2

result:

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