QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#863068#9804. Guess the Polygonucup-team5150#WA 0ms3584kbC++172.1kb2025-01-19 12:38:462025-01-19 12:38:46

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

? 999 1000
? 1001 1000
! 3 1
? 999 1
! 1999 2

result:

ok correct! (2 test cases)

Test #2:

score: 0
Accepted
time: 0ms
memory: 3584kb

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
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
10...

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
? 0 1
! 500000 1
? 0 1
? 1000 1
! 1000000 1
? 0 1
? 1 1
? 1000 1
! 1999999 2
? 999 1000
? 1001 1000
? 1999 1000
? 2001 1000
? 2999 1000
? 3001 1000
? 4 1
!...

result:

ok correct! (9 test cases)

Test #3:

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

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
6001 1000
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
30 1
3
797 264
827 254
857 ...

output:

? 927 1
? 937 1
? 942 1
? 950999 1000
? 951001 1000
? 957 1
! 317 1
? 562 1
? 577 1
? 582 1
? 587 1
? 602 1
! 375 1
? 455 1
! 585 1
? 527 1
! 585 1
? 854 1
! 600 1
? 827 1
! 300 1
? 719 1
! 600 1
? 162 1
! 400 1
? 742 1
? 746999 1000
? 747001 1000
? 751999 1000
? 752001 1000
? 792 1
! 275 1
? 932 1
...

result:

wrong answer the answer is incorrect, expect: 4400/1, find: 8801/2 (test case 14)