QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#794785#9804. Guess the Polygonucup-team025#WA 2ms6220kbC++2014.4kb2024-11-30 16:04:332024-11-30 16:04:35

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

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

result:

ok correct! (2 test cases)

Test #2:

score: 0
Accepted
time: 2ms
memory: 6220kb

input:

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

output:

? 1 2
? 2 1
! 5 2
? 1 2
? 2 1
! 7 2
? 1 2
? 2 1
! 3 2
? 1 2
? 2 1
! 2 1
? 1 2
? 2 1
! 5 2
? 500 1
! 500000 1
? 0 1
? 500 1
! 1000000 1
? 0 1
? 1 2
? 1001 2
! 1999999 2
? 1 2
? 1 1
? 3 2
? 2 1
? 5 2
? 3 1
? 7 2
! 4003 2

result:

ok correct! (9 test cases)

Test #3:

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

input:

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

output:

? 927 1
? 932 1
? 1879 2
? 1893 2
? 951 1
? 954 1
! 317 1
? 562 1
? 1139 2
? 1159 2
? 1169 2
? 1189 2
! 375 1
? 909 2
! 585 1
? 1053 2
! 585 1
? 874 1
! 600 1
? 812 1
! 300 1
? 739 1
! 600 1
? 157 1
! 400 1
? 742 1
? 1489 2
? 747 1
? 1499 2
? 752 1
? 772 1
! 275 1
? 932 1
? 1869 2
? 937 1
? 1879 2
?...

result:

wrong answer the answer is incorrect, expect: 525/2, find: 475/2 (test case 44)