QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#151002#5556. Diabolic DoofenshmirtzGuanYunchangAC ✓2ms3552kbC++20319b2023-08-26 14:53:062023-08-26 14:53:08

詳細信息

Test #1:

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

input:

34
41

output:

? 505000000000
? 1009999999931
! 42

result:

ok Queries used: 3

Test #2:

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

input:

1259
1336

output:

? 505000000000
? 1009999997481
! 1337

result:

ok Queries used: 3

Test #3:

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

input:

0
0

output:

? 505000000000
? 1009999999999
! 1

result:

ok Queries used: 3

Test #4:

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

input:

0
1

output:

? 505000000000
? 1009999999999
! 2

result:

ok Queries used: 3

Test #5:

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

input:

1
2

output:

? 505000000000
? 1009999999997
! 3

result:

ok Queries used: 3

Test #6:

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

input:

0
3

output:

? 505000000000
? 1009999999999
! 4

result:

ok Queries used: 3

Test #7:

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

input:

0
4

output:

? 505000000000
? 1009999999999
! 5

result:

ok Queries used: 3

Test #8:

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

input:

4
5

output:

? 505000000000
? 1009999999991
! 6

result:

ok Queries used: 3

Test #9:

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

input:

6
6

output:

? 505000000000
? 1009999999987
! 7

result:

ok Queries used: 3

Test #10:

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

input:

0
7

output:

? 505000000000
? 1009999999999
! 8

result:

ok Queries used: 3

Test #11:

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

input:

1
8

output:

? 505000000000
? 1009999999997
! 9

result:

ok Queries used: 3

Test #12:

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

input:

10
14

output:

? 505000000000
? 1009999999979
! 15

result:

ok Queries used: 3

Test #13:

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

input:

0
15

output:

? 505000000000
? 1009999999999
! 16

result:

ok Queries used: 3

Test #14:

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

input:

16
16

output:

? 505000000000
? 1009999999967
! 17

result:

ok Queries used: 3

Test #15:

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

input:

505000000000
757500000000
85422501766
798327498233

output:

? 505000000000
? 757500000000
? 883750000000
? 1596654996467
! 798327498234

result:

ok Queries used: 5

Test #16:

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

input:

505000000000
14516426713
742983573286

output:

? 505000000000
? 757500000000
? 1485967146573
! 742983573287

result:

ok Queries used: 4

Test #17:

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

input:

177165712568
327834287431

output:

? 505000000000
? 655668574863
! 327834287432

result:

ok Queries used: 3

Test #18:

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

input:

92567012877
412432987122

output:

? 505000000000
? 824865974245
! 412432987123

result:

ok Queries used: 3

Test #19:

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

input:

505000000000
757500000000
883750000000
946875000000
978437500000
13495325676
980723424323

output:

? 505000000000
? 757500000000
? 883750000000
? 946875000000
? 978437500000
? 994218750000
? 1961446848647
! 980723424324

result:

ok Queries used: 8

Test #20:

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

input:

505000000000
757500000000
883750000000
946875000000
978437500000
6983875676
987234874323

output:

? 505000000000
? 757500000000
? 883750000000
? 946875000000
? 978437500000
? 994218750000
? 1974469748647
! 987234874324

result:

ok Queries used: 8

Test #21:

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

input:

505000000000
757500000000
883750000000
946875000000
1655305679
976782194320

output:

? 505000000000
? 757500000000
? 883750000000
? 946875000000
? 978437500000
? 1953564388641
! 976782194321

result:

ok Queries used: 7

Test #22:

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

input:

72012469018
432987530981

output:

? 505000000000
? 865975061963
! 432987530982

result:

ok Queries used: 3

Test #23:

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

input:

505000000000
207744186113
549755813886

output:

? 505000000000
? 757500000000
? 1099511627773
! 549755813887

result:

ok Queries used: 4

Test #24:

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

input:

505000000000
207744186112
549755813887

output:

? 505000000000
? 757500000000
? 1099511627775
! 549755813888

result:

ok Queries used: 4

Test #25:

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

input:

505000000000
207744186111
549755813888

output:

? 505000000000
? 757500000000
? 1099511627777
! 549755813889

result:

ok Queries used: 4

Test #26:

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

input:

505000000000
757500000000
883750000000
946875000000
978437500000
994218750000
2109375001
999999999998

output:

? 505000000000
? 757500000000
? 883750000000
? 946875000000
? 978437500000
? 994218750000
? 1002109375000
? 1999999999997
! 999999999999

result:

ok Queries used: 9

Test #27:

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

input:

505000000000
757500000000
883750000000
946875000000
978437500000
994218750000
2109375000
999999999999

output:

? 505000000000
? 757500000000
? 883750000000
? 946875000000
? 978437500000
? 994218750000
? 1002109375000
? 1999999999999
! 1000000000000

result:

ok Queries used: 9

Test #28:

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

input:

69108544000
87178291199

output:

? 505000000000
? 871782911999
! 87178291200

result:

ok Queries used: 3

Test #29:

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

input:

23119400800
80313433199

output:

? 505000000000
? 963761198399
! 80313433200

result:

ok Queries used: 3

Test #30:

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

input:

505000000000
757500000000
883750000000
946875000000
14676301600
963761198399

output:

? 505000000000
? 757500000000
? 883750000000
? 946875000000
? 978437500000
? 1927522396799
! 963761198400

result:

ok Queries used: 7

Test #31:

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

input:

19
26

output:

? 505000000000
? 1009999999961
! 27

result:

ok Queries used: 3

Test #32:

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

input:

16
50

output:

? 505000000000
? 1009999999967
! 51

result:

ok Queries used: 3

Test #33:

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

input:

1
96

output:

? 505000000000
? 1009999999997
! 97

result:

ok Queries used: 3

Test #34:

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

input:

220
254

output:

? 505000000000
? 1009999999559
! 255

result:

ok Queries used: 3

Test #35:

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

input:

39
276

output:

? 505000000000
? 1009999999921
! 277

result:

ok Queries used: 3

Test #36:

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

input:

216
840

output:

? 505000000000
? 1009999999567
! 841

result:

ok Queries used: 3

Test #37:

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

input:

196
1666

output:

? 505000000000
? 1009999999607
! 1667

result:

ok Queries used: 3

Test #38:

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

input:

1840
2198

output:

? 505000000000
? 1009999996319
! 2199

result:

ok Queries used: 3

Test #39:

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

input:

468
6208

output:

? 505000000000
? 1009999999063
! 6209

result:

ok Queries used: 3

Test #40:

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

input:

7780
8320

output:

? 505000000000
? 1009999984439
! 8321

result:

ok Queries used: 3

Test #41:

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

input:

26038
29582

output:

? 505000000000
? 1009999947923
! 29583

result:

ok Queries used: 3

Test #42:

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

input:

13091
47542

output:

? 505000000000
? 1009999973817
! 47543

result:

ok Queries used: 3

Test #43:

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

input:

54022
67610

output:

? 505000000000
? 1009999891955
! 67611

result:

ok Queries used: 3

Test #44:

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

input:

108730
190364

output:

? 505000000000
? 1009999782539
! 190365

result:

ok Queries used: 3

Test #45:

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

input:

227018
283486

output:

? 505000000000
? 1009999545963
! 283487

result:

ok Queries used: 3

Test #46:

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

input:

385070
856642

output:

? 505000000000
? 1009999229859
! 856643

result:

ok Queries used: 3

Test #47:

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

input:

76032
1530376

output:

? 505000000000
? 1009999847935
! 1530377

result:

ok Queries used: 3

Test #48:

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

input:

1296600
2419224

output:

? 505000000000
? 1009997406799
! 2419225

result:

ok Queries used: 3

Test #49:

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

input:

7156368
7714996

output:

? 505000000000
? 1009985687263
! 7714997

result:

ok Queries used: 3

Test #50:

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

input:

688657
10772858

output:

? 505000000000
? 1009998622685
! 10772859

result:

ok Queries used: 3

Test #51:

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

input:

24595801
25972092

output:

? 505000000000
? 1009950808397
! 25972093

result:

ok Queries used: 3

Test #52:

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

input:

1770726
57819810

output:

? 505000000000
? 1009996458547
! 57819811

result:

ok Queries used: 3

Test #53:

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

input:

41501739
91164198

output:

? 505000000000
? 1009916996521
! 91164199

result:

ok Queries used: 3

Test #54:

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

input:

187027678
262104346

output:

? 505000000000
? 1009625944643
! 262104347

result:

ok Queries used: 3

Test #55:

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

input:

376684660
442652030

output:

? 505000000000
? 1009246630679
! 442652031

result:

ok Queries used: 3

Test #56:

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

input:

371522125
768079874

output:

? 505000000000
? 1009256955749
! 768079875

result:

ok Queries used: 3

Test #57:

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

input:

970715250
2016117138

output:

? 505000000000
? 1008058569499
! 2016117139

result:

ok Queries used: 3

Test #58:

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

input:

2197579521
3959074176

output:

? 505000000000
? 1005604840957
! 3959074177

result:

ok Queries used: 3

Test #59:

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

input:

2134372996
4656163212

output:

? 505000000000
? 1005731254007
! 4656163213

result:

ok Queries used: 3

Test #60:

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

input:

2085753916
13969840168

output:

? 505000000000
? 1005828492167
! 13969840169

result:

ok Queries used: 3

Test #61:

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

input:

1330387864
20986233838

output:

? 505000000000
? 1007339224271
! 20986233839

result:

ok Queries used: 3

Test #62:

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

input:

12513657290
49248634270

output:

? 505000000000
? 984972685419
! 49248634271

result:

ok Queries used: 3

Test #63:

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

input:

9502665676
123874333580

output:

? 505000000000
? 990994668647
! 123874333581

result:

ok Queries used: 3

Test #64:

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

input:

1342912686
251828543656

output:

? 505000000000
? 1007314174627
! 251828543657

result:

ok Queries used: 3

Test #65:

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

input:

98305007661
406694992338

output:

? 505000000000
? 813389984677
! 406694992339

result:

ok Queries used: 3

Test #66:

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

input:

505000000000
757500000000
883750000000
61711217177
885163782822

output:

? 505000000000
? 757500000000
? 883750000000
? 946875000000
? 1770327565645
! 885163782823

result:

ok Queries used: 6

Test #67:

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

input:

0
15

output:

? 505000000000
? 1009999999999
! 16

result:

ok Queries used: 3

Test #68:

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

input:

42
57

output:

? 505000000000
? 1009999999915
! 58

result:

ok Queries used: 3

Test #69:

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

input:

100
107

output:

? 505000000000
? 1009999999799
! 108

result:

ok Queries used: 3

Test #70:

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

input:

112
163

output:

? 505000000000
? 1009999999775
! 164

result:

ok Queries used: 3

Test #71:

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

input:

260
315

output:

? 505000000000
? 1009999999479
! 316

result:

ok Queries used: 3

Test #72:

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

input:

250
749

output:

? 505000000000
? 1009999999499
! 750

result:

ok Queries used: 3

Test #73:

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

input:

160
1063

output:

? 505000000000
? 1009999999679
! 1064

result:

ok Queries used: 3

Test #74:

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

input:

360
2119

output:

? 505000000000
? 1009999999279
! 2120

result:

ok Queries used: 3

Test #75:

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

input:

3960
6459

output:

? 505000000000
? 1009999992079
! 6460

result:

ok Queries used: 3

Test #76:

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

input:

10240
10719

output:

? 505000000000
? 1009999979519
! 10720

result:

ok Queries used: 3

Test #77:

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

input:

16862
18037

output:

? 505000000000
? 1009999966275
! 18038

result:

ok Queries used: 3

Test #78:

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

input:

37516
47077

output:

? 505000000000
? 1009999924967
! 47078

result:

ok Queries used: 3

Test #79:

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

input:

100816
115895

output:

? 505000000000
? 1009999798367
! 115896

result:

ok Queries used: 3

Test #80:

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

input:

160672
203087

output:

? 505000000000
? 1009999678655
! 203088

result:

ok Queries used: 3

Test #81:

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

input:

312060
348085

output:

? 505000000000
? 1009999375879
! 348086

result:

ok Queries used: 3

Test #82:

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

input:

302932
1012481

output:

? 505000000000
? 1009999394135
! 1012482

result:

ok Queries used: 3

Test #83:

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

input:

1652476
2082475

output:

? 505000000000
? 1009996695047
! 2082476

result:

ok Queries used: 3

Test #84:

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

input:

2018706
4148133

output:

? 505000000000
? 1009995962587
! 4148134

result:

ok Queries used: 3

Test #85:

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

input:

3757984
6746235

output:

? 505000000000
? 1009992484031
! 6746236

result:

ok Queries used: 3

Test #86:

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

input:

5576306
12469305

output:

? 505000000000
? 1009988847387
! 12469306

result:

ok Queries used: 3

Test #87:

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

input:

5243438
26393913

output:

? 505000000000
? 1009989513123
! 26393914

result:

ok Queries used: 3

Test #88:

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

input:

18686116
52487403

output:

? 505000000000
? 1009962627767
! 52487404

result:

ok Queries used: 3

Test #89:

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

input:

40064180
129943369

output:

? 505000000000
? 1009919871639
! 129943370

result:

ok Queries used: 3

Test #90:

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

input:

170020584
183042051

output:

? 505000000000
? 1009659958831
! 183042052

result:

ok Queries used: 3

Test #91:

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

input:

15592552
386073705

output:

? 505000000000
? 1009968814895
! 386073706

result:

ok Queries used: 3

Test #92:

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

input:

893617528
1059047021

output:

? 505000000000
? 1008212764943
! 1059047022

result:

ok Queries used: 3

Test #93:

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

input:

342021904
1300664891

output:

? 505000000000
? 1009315956191
! 1300664892

result:

ok Queries used: 3

Test #94:

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

input:

925080400
3000445949

output:

? 505000000000
? 1008149839199
! 3000445950

result:

ok Queries used: 3

Test #95:

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

input:

3240307160
7167995611

output:

? 505000000000
? 1003519385679
! 7167995612

result:

ok Queries used: 3

Test #96:

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

input:

10847344960
14974322879

output:

? 505000000000
? 988305310079
! 14974322880

result:

ok Queries used: 3

Test #97:

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

input:

5132361220
33324509251

output:

? 505000000000
? 999735277559
! 33324509252

result:

ok Queries used: 3

Test #98:

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

input:

6288370312
41559302473

output:

? 505000000000
? 997423259375
! 41559302474

result:

ok Queries used: 3

Test #99:

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

input:

109464260572
131845246475

output:

? 505000000000
? 791071478855
! 131845246476

result:

ok Queries used: 3

Test #100:

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

input:

75645391642
143118202785

output:

? 505000000000
? 858709216715
! 143118202786

result:

ok Queries used: 3

Test #101:

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

input:

505000000000
243571415678
513928584321

output:

? 505000000000
? 757500000000
? 1027857168643
! 513928584322

result:

ok Queries used: 4

Test #102:

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

input:

505000000000
757500000000
883750000000
946875000000
14027491542
964410008457

output:

? 505000000000
? 757500000000
? 883750000000
? 946875000000
? 978437500000
? 1928820016915
! 964410008458

result:

ok Queries used: 7