QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#805131#9804. Guess the Polygonucup-team1817#WA 1ms3792kbC++231.1kb2024-12-08 13:37:042024-12-08 13:37:04

詳細信息

Test #1:

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

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: 1ms
memory: 3752kb

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

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
? 999999 1000
? 1000001 1000

result:

wrong answer invalid query: 1000001/1000 (test case 7)