QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#806241#9804. Guess the Polygonucup-team4464#WA 1ms3788kbC++144.1kb2024-12-09 00:40:132024-12-09 00:40:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
4
3 0
1 3
1 1
0 0
9 5
19 10
3
0 0
999 1000
1000 999
1999 1000

output:

? 9 10
? 11 10
! 3 1
? 999 1
! 1999 2

result:

ok correct! (2 test cases)

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 3788kb

input:

9
4
1 1
1 3
3 0
0 0
27 10
19 20
4
0 0
1 3
1 1
3 0
9 10
57 20
4
0 0
3 0
1 2
1 1
9 10
19 20
4
0 0
3 0
1 2
1 1
9 5
19 20
4
0 0
3 0
1 1
1 2
9 10
19 10
3
1000 0
0 0
0 1000
9999 10

output:

? 9 10
? 11 10
! 5 2
? 9 10
? 11 10
! 7 2
? 9 10
? 11 10
! 3 2
? 9 10
? 11 10
! 2 1
? 9 10
? 11 10
! 5 2
? 1 10
! 499950 1

result:

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