QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#795730#9804. Guess the Polygonucup-team3602#RE 0ms3824kbC++235.6kb2024-11-30 23:56:142024-11-30 23:56:15

詳細信息

Test #1:

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

input:

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

output:

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

result:

ok correct! (2 test cases)

Test #2:

score: -100
Runtime Error

input:

9
4
1 1
1 3
3 0
0 0
9 4
7 8
4
0 0
1 3
1 1
3 0
3 4
21 8
4
0 0
3 0
1 2
1 1
3 4
7 8
4
0 0
3 0
1 2
1 1
3 2
7 8
4
0 0
3 0
1 1
1 2
3 4
7 4
3
1000 0
0 0
0 1000
1000 1
4
0 0
1000 0
1000 1000
0 1000
1000 1

output:

? 3 4
? 5 4
! 5 2
? 3 4
? 5 4
! 7 2
? 3 4
? 5 4
! 3 2
? 3 4
? 5 4
! 2 1
? 3 4
? 5 4
! 5 2
? 0 1
! 500000 1
? 0 1
? 1000 0

result: