QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#808518#9804. Guess the Polygonucup-team425#WA 3ms3600kbC++204.5kb2024-12-10 21:12:202024-12-10 21:12:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

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

result:

ok correct! (2 test cases)

Test #2:

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

input:

9
4
1 1
1 3
3 0
0 0
2 1
2 3
4
0 0
1 3
1 1
3 0
2 3
2 1
4
0 0
3 0
1 2
1 1
2 3
2 3
4
0 0
3 0
1 2
1 1
4 3
2 3
4
0 0
3 0
1 1
1 2
2 3
4 3
3
1000 0
0 0
0 1000
2000 3
4
0 0
1000 0
1000 1000
0 1000
1000 1
1000 1
5
0 1
1000 1000
1000 0
0 1000
1 0
2998 3
1000 1
1000 1
9
4 1000
3 1
2 1000
3 1000
1 1
2 1
0 0
1 1...

output:

? 2 3
? 5 3
! 5 2
? 2 3
? 5 3
! 7 2
? 2 3
? 5 3
! 3 2
? 2 3
? 5 3
! 2 1
? 2 3
? 5 3
! 5 2
? 1000 3
! 500000 1
? 1000 3
? 2000 3
! 1000000 1
? 1 3
? 1 1
? 2001 3
! 1999999 2
? 2 3
? 4 3
? 5 3
? 7 3
? 8 3
? 10 3
? 11 3
! 4003 2

result:

ok correct! (9 test cases)

Test #3:

score: -100
Wrong Answer
time: 3ms
memory: 3508kb

input:

78
8
951 614
927 614
957 614
957 604
937 614
942 619
951 610
927 604
10 1
10 1
15 1
9 1
10 1
10 1
7
562 260
602 250
582 255
587 260
602 260
562 250
577 260
10 1
10 1
5 1
10 1
10 1
3
454 98
494 68
455 68
117 4
3
526 589
566 559
527 559
117 4
3
854 496
854 466
894 466
20 1
3
797 264
827 254
857 264
10...

output:

? 2791 3
? 937 1
? 942 1
? 2844 3
? 2859 3
? 2865 3
! 317 1
? 1701 3
? 577 1
? 582 1
? 587 1
? 1791 3
! 375 1
? 455 1
! 585 1
? 527 1
! 585 1
? 2602 3
! 600 1
? 827 1
! 300 1
? 2197 3
! 600 1
? 162 1
! 400 1
? 2231 3
? 2236 3
? 2246 3
? 2251 3
? 2296 3
? 2336 3
! 275 1
? 2801 3
? 2806 3
? 2816 3
? 2...

result:

wrong answer the answer is incorrect, expect: 8124/1, find: 16247/2 (test case 59)