QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#795473#9804. Guess the Polygonucup-team121#WA 0ms3660kbC++207.9kb2024-11-30 20:48:042024-11-30 20:48:04

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

? 1 2
? 3 2
! 3 1
? 999 1
! 1999 2

result:

ok correct! (2 test cases)

Test #2:

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

input:

9
4
1 1
1 3
3 0
0 0
3 2
3 4
4
0 0
1 3
1 1
3 0
1 2
9 4
4
0 0
3 0
1 2
1 1
1 2
3 4
4
0 0
3 0
1 2
1 1
1 1
3 4
4
0 0
3 0
1 1
1 2
1 2
3 2
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
1000 1
1000 1
9
4 1000
3 1
2 1000
3 1000
1 1
2 1
0 0
1 10...

output:

? 1 2
? 3 2
! 5 2
? 1 2
? 3 2
! 7 2
? 1 2
? 3 2
! 3 2
? 1 2
? 3 2
! 2 1
? 1 2
? 3 2
! 5 2
? 0 1
! 500000 1
? 0 1
? 1000 1
! 1000000 1
? 0 1
? 1 1
? 1000 1
! 1999999 2
? 1 2
? 3 2
? 3 2
? 5 2
? 5 2
? 7 2
? 4 1
! -1073741824 1

result:

wrong answer Integer parameter [name=x] equals to -1073741824, violates the range [0, 2000000] (test case 9)