QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#151335#5556. Diabolic DoofenshmirtzMaMengQiWA 2ms3796kbC++231.5kb2023-08-26 16:37:042023-08-26 16:37:05

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 3500kb

input:

1
41
38
25
0
10
2
17
17
7
35
13
22
41
2
40
33
2
14
22
34
22
41
23
16
23
37
27
39
10
22
2
5
14
15
17
18
19
20
21
22

output:

? 1
? 281854553483
? 719356845938
? 886168808935
? 957503250144
? 983134340296
? 995440158512
? 996128905733
? 996972796319
? 999859874587
? 999989655455
? 999993162181
? 999993680848
? 999996458201
? 999996662744
? 999999511012
? 999999673125
? 999999695396
? 999999792302
? 999999934186
? 999999958...

result:

ok Queries used: 42

Test #2:

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

input:

1
1281
1041
157
803
14
501
705
737
35
1210
766
540
494
980
742
690
579
267
1201
390
393
395
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428

output:

? 1
? 183820204512
? 891057578570
? 926501005139
? 955806976185
? 963653577040
? 966857810335
? 994452959750
? 996350650787
? 996575173832
? 997396352385
? 998969664017
? 999910157723
? 999991976729
? 999999378847
? 999999474873
? 999999643283
? 999999891854
? 999999985132
? 999999999436
? 999999999...

result:

ok Queries used: 42

Test #3:

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

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
0
0

output:

? 1
? 852607829921
? 868225621910
? 931932563358
? 961165207885
? 974379515909
? 982505231737
? 982911546949
? 988178864500
? 989190821795
? 992562192047
? 993939314405
? 999692849725
? 999819473897
? 999914929287
? 999920475001
? 999976584535
? 999979915502
? 999988373444
? 999997296239
? 999997589...

result:

ok Queries used: 42

Test #4:

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

input:

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

output:

? 1
? 259006775953
? 951615118832
? 980347769620
? 988063253125
? 995603258747
? 997909477367
? 998222412961
? 999065892631
? 999239578659
? 999820144976
? 999851984829
? 999995423246
? 999999308008
? 999999570620
? 999999928807
? 999999961675
? 999999964814
? 999999986653
? 999999986990
? 999999995...

result:

ok Queries used: 42

Test #5:

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

input:

1
1
1
2
0
1
2
2
1
1
0
2
1
1
1
2
0
1
2
2
0
0
0
0
2
0
1
0
1
2
0
1
2
0
1
2
0
1
2
0
1

output:

? 1
? 536120572114
? 927730497298
? 961750301720
? 997282232076
? 999953419930
? 999954604454
? 999987528773
? 999996980218
? 999997025185
? 999997731339
? 999998214977
? 999998242402
? 999999707023
? 999999900988
? 999999963470
? 999999998622
? 999999999727
? 999999999863
? 999999999923
? 999999999...

result:

ok Queries used: 42

Test #6:

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

input:

1
0
3
0
3
3
1
0
3
1
0
2
1
2
2
2
1
1
3
2
3
2
3
2
2
1
3
3
0
1
2
3
0
1
2
3
0
1
2
3
0

output:

? 1
? 283989659056
? 466173961515
? 787413608944
? 793019871727
? 840587662495
? 968922132221
? 982651873468
? 997833470223
? 999259960457
? 999771738084
? 999785950574
? 999881315421
? 999983672082
? 999995850494
? 999999170614
? 999999972413
? 999999976793
? 999999981903
? 999999989706
? 999999993...

result:

ok Queries used: 42

Test #7:

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

input:

1
3
2
3
4
2
4
4
3
0
4
1
2
0
2
2
3
0
2
3
2
3
4
2
4
1
3
0
2
3
4
0
1
3
4
0
1
2
3
4
0

output:

? 1
? 276189650953
? 607562430907
? 822809603053
? 896085704909
? 982637080907
? 999000218824
? 999407441019
? 999791072473
? 999930657500
? 999941231514
? 999963245871
? 999984009987
? 999984922000
? 999998410982
? 999998641967
? 999998674943
? 999999973625
? 999999978072
? 999999999428
? 999999999...

result:

ok Queries used: 42

Test #8:

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

input:

1
0
4
2
1
5
0
0
1
4
2
3
1
4
0
1
1
0
0
3
1
5
5
2
3
0
2
3
4
5
0
1
2
3
4
5
0
1
2
3
4

output:

? 1
? 166191272646
? 752099943934
? 763542396296
? 844335062731
? 874962608291
? 951978161502
? 959750202936
? 999985895125
? 999991656568
? 999998243342
? 999998651679
? 999999064135
? 999999769312
? 999999948270
? 999999956893
? 999999978859
? 999999996678
? 999999999750
? 999999999855
? 999999999...

result:

ok Queries used: 42

Test #9:

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

input:

1
2
5
1
4
2
5
2
2
1
6
2
3
4
1
6
4
1
2
4
3
1
3
3
2
0
5
2
3
4
5
6
0
1
2
3
4
5
6
0
1

output:

? 1
? 934944543115
? 968336952539
? 984230722217
? 992336606846
? 997170677883
? 999433609557
? 999869845655
? 999888865523
? 999965316442
? 999979231957
? 999984888261
? 999988655004
? 999990799546
? 999994107533
? 999995340938
? 999996024640
? 999999786927
? 999999819310
? 999999915688
? 999999918...

result:

ok Queries used: 42

Test #10:

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

input:

1
5
5
4
6
2
1
0
6
2
4
5
4
1
1
2
4
4
6
4
4
0
5
6
0
1
2
3
4
5
6
7
0
1
2
3
4
5
6
7
0

output:

? 1
? 150083763821
? 224410834349
? 881171514468
? 980389017574
? 990975865066
? 993309289169
? 993444792768
? 998515835926
? 999765188050
? 999838881836
? 999983687621
? 999995455260
? 999997060009
? 999997596273
? 999998119578
? 999999283404
? 999999303188
? 999999994726
? 999999997740
? 999999999...

result:

ok Queries used: 42

Test #11:

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

input:

1
1
7
6
4
4
5
6
6
2
0
6
2
6
5
1
0
3
6
2
1
6
8
8
0
3
4
5
7
8
0
1
2
3
4
5
6
7
8
0
1

output:

? 1
? 815658867505
? 988158341491
? 999968369100
? 999974964766
? 999983323336
? 999984388811
? 999989827575
? 999995565669
? 999995751569
? 999999580239
? 999999961143
? 999999991919
? 999999991977
? 999999993389
? 999999994762
? 999999997272
? 999999997410
? 999999999537
? 999999999911
? 999999999...

result:

ok Queries used: 42

Test #12:

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

input:

1
2
2
5
9
1
14
7
6
1
9
8
1
5
9
7
0
4
9
9
3
5
6
8
9
10
11
12
13
14
0
1
2
3
4
5
6
7
8
9
10

output:

? 1
? 256821578882
? 656796194132
? 984382952165
? 993177078624
? 999487715191
? 999835117049
? 999849172492
? 999954975996
? 999994178401
? 999998046054
? 999998667488
? 999999422506
? 999999574085
? 999999772089
? 999999838567
? 999999934980
? 999999985684
? 999999997164
? 999999999744
? 999999999...

result:

ok Queries used: 42

Test #13:

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

input:

1
6
14
3
4
3
7
8
8
6
11
7
11
15
11
3
15
2
8
5
9
11
14
15
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
0

output:

? 1
? 210027500694
? 562750153566
? 834218116163
? 845593469508
? 965675564579
? 965905142807
? 987908115928
? 990054328008
? 996582446230
? 999518960459
? 999927798759
? 999944874683
? 999999945359
? 999999965515
? 999999994419
? 999999998239
? 999999999826
? 999999999912
? 999999999973
? 999999999...

result:

ok Queries used: 42

Test #14:

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

input:

1
7
7
7
10
0
4
6
7
16
1
10
9
8
0
14
0
5
0
12
4
5
5
1
1
12
7
1
0
2
8
16
12
14
13
4
7
8
11
12
13

output:

? 1
? 156475751548
? 531163073618
? 982063691861
? 989668951060
? 991887867363
? 994192575693
? 998274910917
? 998967319609
? 999446701292
? 999749402971
? 999850771719
? 999924781881
? 999986794072
? 999992800028
? 999995033587
? 999995093464
? 999997009080
? 999999071158
? 999999079449
? 999999305...

result:

ok Queries used: 42

Test #15:

score: -100
Wrong Answer
time: 2ms
memory: 3464kb

input:

1
112798666651
123336990868
144664036735
165694799050
189584390762
197761969931
200529487550
201662809645
201671737590
201672216675
201672292214
201672397652
201672459481
201672475918
201672485614
201672496136
201672501199
201672501269
201672501596
201672501608
201672501724
201672501747
201672501748...

output:

? 1
? 911126164885
? 921664489102
? 942991534969
? 964022297284
? 987911888996
? 996089468165
? 998856985784
? 999990307879
? 999999235824
? 999999714909
? 999999790448
? 999999895886
? 999999957715
? 999999974152
? 999999983848
? 999999994370
? 999999999433
? 999999999503
? 999999999830
? 999999999...

result:

wrong answer Answer is not unique: 399163749117