QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#177370#5556. Diabolic DoofenshmirtzZhangYiDeWA 1ms3596kbC++20626b2023-09-12 21:51:072023-09-12 21:51:07

详细

Test #1:

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

input:

32
16
8
4
2
22
32
16
8
4
2
1
0
0
0
21
10
5
2
22
11
26
13
6
24
33
16
29
14
7
3
22
32
16
29
1
36
39
41
0

output:

? 500000000000
? 749999999968
? 874999999952
? 937499999944
? 968749999940
? 984374999938
? 992187499916
? 996093749884
? 998046874868
? 999023437360
? 999511718606
? 999755859229
? 999877929540
? 999938964696
? 999969482274
? 999984741063
? 999992370436
? 999996185123
? 999998092466
? 999999046138
...

result:

ok Queries used: 41

Test #2:

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

input:

214
107
722
361
849
1093
1215
1276
638
319
828
414
875
1106
553
945
472
236
786
393
865
432
216
776
388
194
765
1051
525
931
59
1163
1279
0
1308
1322
1329
1333
1335
1336

output:

? 500000000000
? 749999999786
? 874999999679
? 937499998957
? 968749998596
? 984374997747
? 992187496654
? 996093745439
? 998046869163
? 999023431025
? 999511711956
? 999755851753
? 999877921651
? 999938955932
? 999969472404
? 999984730640
? 999992359089
? 999996173314
? 999998080426
? 999999033314
...

result:

ok Queries used: 41

Test #3:

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

input:

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

output:

? 500000000000
? 750000000000
? 875000000000
? 937500000000
? 968750000000
? 984375000000
? 992187500000
? 996093750000
? 998046875000
? 999023437500
? 999511718750
? 999755859375
? 999877929687
? 999938964843
? 999969482421
? 999984741210
? 999992370604
? 999996185301
? 999998092649
? 999999046323
...

result:

ok Queries used: 40

Test #4:

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

input:

0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
1
0
1
0
0
1
0
1
0
1
1
0
0
0
1
0
1
1

output:

? 500000000000
? 750000000000
? 875000000000
? 937500000000
? 968750000000
? 984375000000
? 992187500000
? 996093750000
? 998046875000
? 999023437500
? 999511718750
? 999755859375
? 999877929686
? 999938964842
? 999969482420
? 999984741209
? 999992370602
? 999996185299
? 999998092646
? 999999046320
...

result:

wrong answer Integer 999999999975 violates the range [999999999976, 1000000000000000001]