QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#818215#9804. Guess the Polygonucup-team3953#WA 4ms3832kbC++203.0kb2024-12-17 17:45:362024-12-17 17:45:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

? 499 500
? 501 500
! 3 1
? 999 1
! 1999 2

result:

ok correct! (2 test cases)

Test #2:

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

input:

9
4
1 1
1 3
3 0
0 0
1497 500
999 1000
4
0 0
1 3
1 1
3 0
499 500
2997 1000
4
0 0
3 0
1 2
1 1
499 500
999 1000
4
0 0
3 0
1 2
1 1
499 250
999 1000
4
0 0
3 0
1 1
1 2
499 500
999 500
3
1000 0
0 0
0 1000
499999 500
4
0 0
1000 0
1000 1000
0 1000
1000 1
1000 1
5
0 1
1000 1000
1000 0
0 1000
1 0
499501 500
10...

output:

? 499 500
? 501 500
! 5 2
? 499 500
? 501 500
! 7 2
? 499 500
? 501 500
! 3 2
? 499 500
? 501 500
! 2 1
? 499 500
? 501 500
! 5 2
? 1 500
! 500000 1
? 1 500
? 499999 500
! 1000000 1
? 1 500
? 499999 500
? 1 1
! 1999999 2
? 1999 500
? 499 500
? 501 500
? 999 500
? 1001 500
? 1499 500
? 1501 500
! 400...

result:

ok correct! (9 test cases)

Test #3:

score: 0
Accepted
time: 3ms
memory: 3676kb

input:

78
8
951 614
927 614
957 614
957 604
937 614
942 619
951 610
927 604
10 1
10 1
10 1
15 1
3001 500
10 1
7
562 260
602 250
582 255
587 260
602 260
562 250
577 260
10 1
10 1
10 1
5 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
59997 2000
3
797 264
827 254...

output:

? 463501 500
? 478499 500
? 937 1
? 942 1
? 475499 500
? 475501 500
! 317 1
? 281001 500
? 300999 500
? 577 1
? 582 1
? 587 1
! 375 1
? 455 1
! 585 1
? 527 1
! 585 1
? 427001 500
! 600 1
? 827 1
! 300 1
? 359501 500
! 600 1
? 162 1
! 400 1
? 371001 500
? 395999 500
? 373499 500
? 373501 500
? 375999...

result:

ok correct! (78 test cases)

Test #4:

score: -100
Wrong Answer
time: 4ms
memory: 3616kb

input:

34
24
123 815
168 800
133 795
27 827
153 805
28 830
178 780
138 810
78 830
192 772
148 790
88 810
43 825
183 795
103 805
163 785
118 800
93 825
63 835
73 815
58 820
198 790
48 840
108 820
10 3
95 6
15 2
95 6
15 2
95 6
15 2
95 6
15 2
95 6
15 2
95 6
15 2
95 6
15 2
95 6
15 2
95 6
15 2
95 6
15 2
15 1
24...

output:

? 28 1
? 43 1
? 48 1
? 58 1
? 63 1
? 73 1
? 78 1
? 88 1
? 93 1
? 103 1
? 108 1
? 118 1
? 123 1
? 133 1
? 138 1
? 148 1
? 153 1
? 163 1
? 168 1
? 178 1
? 183 1
? 192 1
! 1925 1
? 54 1
? 69 1
? 74 1
? 84 1
? 89 1
? 99 1
? 104 1
? 114 1
? 119 1
? 129 1
? 134 1
? 144 1
? 149 1
? 159 1
? 164 1
? 174 1
? ...

result:

wrong answer Integer parameter [name=y] equals to 0, violates the range [1, 1000] (test case 27)