QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#805149#9804. Guess the Polygonucup-team1817#WA 1ms3888kbC++231.3kb2024-12-08 13:47:312024-12-08 13:47:34

詳細信息

Test #1:

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

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: 3860kb

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

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

? 1 1000
! 999999 2


result:

wrong answer the answer is incorrect, expect: 500000/1, find: 999999/2 (test case 6)