QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#863056#9804. Guess the Polygonucup-team5150#WA 0ms3584kbC++171.8kb2025-01-19 12:26:392025-01-19 12:26:40

詳細信息

Test #1:

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

input:

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

output:

? 999 1000
? 1001 1000
! 3 1
? 999 1
! 1999 2

result:

ok correct! (2 test cases)

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 3584kb

input:

9
4
1 1
1 3
3 0
0 0
2997 1000
1999 2000
4
0 0
1 3
1 1
3 0
999 1000
5997 2000
4
0 0
3 0
1 2
1 1
999 1000
1999 2000
4
0 0
3 0
1 2
1 1
999 500
1999 2000
4
0 0
3 0
1 1
1 2
999 1000
1999 1000
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
10...

output:

? 999 1000
? 1001 1000
! 5 2
? 999 1000
? 1001 1000
! 7 2
? 999 1000
? 1001 1000
! 3 2
? 999 1000
? 1001 1000
! 2 1
? 999 1000
? 1001 1000
! 5 2
? 0 1
! 500000 1
? 0 1
? 1000 1
! 1000000 1
? 0 1
? 1 1
? 1000 1
! 1999999 2
? 999 1000
? 1001 1000
? 1999 1000
? 2001 1000
? 2999 1000
? 3001 1000
? 4 1
!...

result:

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