QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#795817#9804. Guess the Polygonucup-team3479WA 1ms3880kbC++206.9kb2024-12-01 01:48:522024-12-01 01:48:52

詳細信息

Test #1:

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

input:

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

output:

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

result:

ok correct! (2 test cases)

Test #2:

score: 0
Accepted
time: 1ms
memory: 3548kb

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
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...

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
! 500000 1
? 1 1000
? 999999 1000
! 1000000 1
? 1 1000
? 999 1000
? 999999 1000
! 1999999 2
? 999 1000
? 1001 1000
? 1999 1000
? 2001 1000
? 2999 ...

result:

ok correct! (9 test cases)

Test #3:

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

input:

78
8
951 614
927 614
957 614
957 604
937 614
942 619
951 610
927 604
0 1
10 1
14999 1000
6001 1000
10 1
10 1

output:

? 1 1000
? 936999 1000
? 941999 1000
? 950999 1000
? 951001 1000
? 956999 1000
! 545084333769814664 1

result:

wrong answer format  Expected int32, but "545084333769814664" found (test case 1)