QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#795812#9804. Guess the Polygonucup-team3479WA 1ms3884kbC++206.8kb2024-12-01 01:36:402024-12-01 01:36:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

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

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
! 307879721 2

result:

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