QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#151480#5556. Diabolic DoofenshmirtzZhaoZiLongAC ✓2ms3556kbC++20438b2023-08-26 19:15:272023-08-26 19:15:28

详细

Test #1:

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

input:

32
41

output:

? 1000000000010
? 1999999999955
! 42

result:

ok Queries used: 3

Test #2:

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

input:

438
1336

output:

? 1000000000010
? 1999999999143
! 1337

result:

ok Queries used: 3

Test #3:

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

input:

0
0

output:

? 1000000000010
? 2000000000019
! 1

result:

ok Queries used: 3

Test #4:

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

input:

0
1

output:

? 1000000000010
? 2000000000019
! 2

result:

ok Queries used: 3

Test #5:

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

input:

2
2

output:

? 1000000000010
? 2000000000015
! 3

result:

ok Queries used: 3

Test #6:

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

input:

2
3

output:

? 1000000000010
? 2000000000015
! 4

result:

ok Queries used: 3

Test #7:

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

input:

0
4

output:

? 1000000000010
? 2000000000019
! 5

result:

ok Queries used: 3

Test #8:

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

input:

2
5

output:

? 1000000000010
? 2000000000015
! 6

result:

ok Queries used: 3

Test #9:

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

input:

4
6

output:

? 1000000000010
? 2000000000011
! 7

result:

ok Queries used: 3

Test #10:

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

input:

2
7

output:

? 1000000000010
? 2000000000015
! 8

result:

ok Queries used: 3

Test #11:

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

input:

2
8

output:

? 1000000000010
? 2000000000015
! 9

result:

ok Queries used: 3

Test #12:

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

input:

5
14

output:

? 1000000000010
? 2000000000009
! 15

result:

ok Queries used: 3

Test #13:

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

input:

10
15

output:

? 1000000000010
? 1999999999999
! 16

result:

ok Queries used: 3

Test #14:

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

input:

6
16

output:

? 1000000000010
? 2000000000007
! 17

result:

ok Queries used: 3

Test #15:

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

input:

201672501776
798327498233

output:

? 1000000000010
? 1596654996467
! 798327498234

result:

ok Queries used: 3

Test #16:

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

input:

257016426723
742983573286

output:

? 1000000000010
? 1485967146573
! 742983573287

result:

ok Queries used: 3

Test #17:

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

input:

16497137714
327834287431

output:

? 1000000000010
? 1967005724591
! 327834287432

result:

ok Queries used: 3

Test #18:

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

input:

175134025764
412432987122

output:

? 1000000000010
? 1649731948491
! 412432987123

result:

ok Queries used: 3

Test #19:

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

input:

19276575686
980723424323

output:

? 1000000000010
? 1961446848647
! 980723424324

result:

ok Queries used: 3

Test #20:

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

input:

12765125686
987234874323

output:

? 1000000000010
? 1974469748647
! 987234874324

result:

ok Queries used: 3

Test #21:

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

input:

23217805689
976782194320

output:

? 1000000000010
? 1953564388641
! 976782194321

result:

ok Queries used: 3

Test #22:

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

input:

134024938046
432987530981

output:

? 1000000000010
? 1731950123927
! 432987530982

result:

ok Queries used: 3

Test #23:

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

input:

450244186123
549755813886

output:

? 1000000000010
? 1099511627773
! 549755813887

result:

ok Queries used: 3

Test #24:

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

input:

450244186122
549755813887

output:

? 1000000000010
? 1099511627775
! 549755813888

result:

ok Queries used: 3

Test #25:

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

input:

450244186121
549755813888

output:

? 1000000000010
? 1099511627777
! 549755813889

result:

ok Queries used: 3

Test #26:

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

input:

11
999999999998

output:

? 1000000000010
? 1999999999997
! 999999999999

result:

ok Queries used: 3

Test #27:

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

input:

10
999999999999

output:

? 1000000000010
? 1999999999999
! 1000000000000

result:

ok Queries used: 3

Test #28:

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

input:

41038796810
87178291199

output:

? 1000000000010
? 1917922406399
! 87178291200

result:

ok Queries used: 3

Test #29:

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

input:

36238801610
80313433199

output:

? 1000000000010
? 1927522396799
! 80313433200

result:

ok Queries used: 3

Test #30:

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

input:

36238801610
963761198399

output:

? 1000000000010
? 1927522396799
! 963761198400

result:

ok Queries used: 3

Test #31:

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

input:

11
26

output:

? 1000000000010
? 1999999999997
! 27

result:

ok Queries used: 3

Test #32:

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

input:

23
50

output:

? 1000000000010
? 1999999999973
! 51

result:

ok Queries used: 3

Test #33:

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

input:

60
96

output:

? 1000000000010
? 1999999999899
! 97

result:

ok Queries used: 3

Test #34:

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

input:

125
254

output:

? 1000000000010
? 1999999999769
! 255

result:

ok Queries used: 3

Test #35:

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

input:

79
276

output:

? 1000000000010
? 1999999999861
! 277

result:

ok Queries used: 3

Test #36:

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

input:

88
840

output:

? 1000000000010
? 1999999999843
! 841

result:

ok Queries used: 3

Test #37:

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

input:

2
1666

output:

? 1000000000010
? 2000000000015
! 1667

result:

ok Queries used: 3

Test #38:

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

input:

170
2198

output:

? 1000000000010
? 1999999999679
! 2199

result:

ok Queries used: 3

Test #39:

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

input:

5240
6208

output:

? 1000000000010
? 1999999989539
! 6209

result:

ok Queries used: 3

Test #40:

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

input:

1987
8320

output:

? 1000000000010
? 1999999996045
! 8321

result:

ok Queries used: 3

Test #41:

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

input:

23159
29582

output:

? 1000000000010
? 1999999953701
! 29583

result:

ok Queries used: 3

Test #42:

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

input:

30640
47542

output:

? 1000000000010
? 1999999938739
! 47543

result:

ok Queries used: 3

Test #43:

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

input:

45398
67610

output:

? 1000000000010
? 1999999909223
! 67611

result:

ok Queries used: 3

Test #44:

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

input:

90920
190364

output:

? 1000000000010
? 1999999818179
! 190365

result:

ok Queries used: 3

Test #45:

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

input:

174484
283486

output:

? 1000000000010
? 1999999651051
! 283487

result:

ok Queries used: 3

Test #46:

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

input:

363889
856642

output:

? 1000000000010
? 1999999272241
! 856643

result:

ok Queries used: 3

Test #47:

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

input:

1165769
1530376

output:

? 1000000000010
? 1999997668481
! 1530377

result:

ok Queries used: 3

Test #48:

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

input:

1250135
2419224

output:

? 1000000000010
? 1999997499749
! 2419225

result:

ok Queries used: 3

Test #49:

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

input:

5233861
7714996

output:

? 1000000000010
? 1999989532297
! 7714997

result:

ok Queries used: 3

Test #50:

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

input:

9363335
10772858

output:

? 1000000000010
? 1999981273349
! 10772859

result:

ok Queries used: 3

Test #51:

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

input:

22475324
25972092

output:

? 1000000000010
? 1999955049371
! 25972093

result:

ok Queries used: 3

Test #52:

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

input:

6368765
57819810

output:

? 1000000000010
? 1999987262489
! 57819811

result:

ok Queries used: 3

Test #53:

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

input:

19901179
91164198

output:

? 1000000000010
? 1999960197661
! 91164199

result:

ok Queries used: 3

Test #54:

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

input:

71916205
262104346

output:

? 1000000000010
? 1999856167609
! 262104347

result:

ok Queries used: 3

Test #55:

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

input:

49061981
442652030

output:

? 1000000000010
? 1999901876057
! 442652031

result:

ok Queries used: 3

Test #56:

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

input:

728082635
768079874

output:

? 1000000000010
? 1998543834749
! 768079875

result:

ok Queries used: 3

Test #57:

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

input:

5899066
2016117138

output:

? 1000000000010
? 1999988201887
! 2016117139

result:

ok Queries used: 3

Test #58:

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

input:

2313307406
3959074176

output:

? 1000000000010
? 1995373385207
! 3959074177

result:

ok Queries used: 3

Test #59:

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

input:

3581072428
4656163212

output:

? 1000000000010
? 1992837855163
! 4656163213

result:

ok Queries used: 3

Test #60:

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

input:

8141348011
13969840168

output:

? 1000000000010
? 1983717303997
! 13969840169

result:

ok Queries used: 3

Test #61:

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

input:

13647009577
20986233838

output:

? 1000000000010
? 1972705980865
! 20986233839

result:

ok Queries used: 3

Test #62:

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

input:

15027314590
49248634270

output:

? 1000000000010
? 1969945370839
! 49248634271

result:

ok Queries used: 3

Test #63:

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

input:

9005331362
123874333580

output:

? 1000000000010
? 1981989337295
! 123874333581

result:

ok Queries used: 3

Test #64:

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

input:

244514369039
251828543656

output:

? 1000000000010
? 1510971261941
! 251828543657

result:

ok Queries used: 3

Test #65:

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

input:

186610015332
406694992338

output:

? 1000000000010
? 1626779969355
! 406694992339

result:

ok Queries used: 3

Test #66:

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

input:

114836217187
885163782822

output:

? 1000000000010
? 1770327565645
! 885163782823

result:

ok Queries used: 3

Test #67:

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

input:

10
15

output:

? 1000000000010
? 1999999999999
! 16

result:

ok Queries used: 3

Test #68:

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

input:

30
57

output:

? 1000000000010
? 1999999999959
! 58

result:

ok Queries used: 3

Test #69:

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

input:

38
107

output:

? 1000000000010
? 1999999999943
! 108

result:

ok Queries used: 3

Test #70:

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

input:

110
163

output:

? 1000000000010
? 1999999999799
! 164

result:

ok Queries used: 3

Test #71:

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

input:

18
315

output:

? 1000000000010
? 1999999999983
! 316

result:

ok Queries used: 3

Test #72:

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

input:

260
749

output:

? 1000000000010
? 1999999999499
! 750

result:

ok Queries used: 3

Test #73:

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

input:

74
1063

output:

? 1000000000010
? 1999999999871
! 1064

result:

ok Queries used: 3

Test #74:

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

input:

450
2119

output:

? 1000000000010
? 1999999999119
! 2120

result:

ok Queries used: 3

Test #75:

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

input:

3950
6459

output:

? 1000000000010
? 1999999992119
! 6460

result:

ok Queries used: 3

Test #76:

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

input:

970
10719

output:

? 1000000000010
? 1999999998079
! 10720

result:

ok Queries used: 3

Test #77:

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

input:

12326
18037

output:

? 1000000000010
? 1999999975367
! 18038

result:

ok Queries used: 3

Test #78:

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

input:

7178
47077

output:

? 1000000000010
? 1999999985663
! 47078

result:

ok Queries used: 3

Test #79:

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

input:

56210
115895

output:

? 1000000000010
? 1999999887599
! 115896

result:

ok Queries used: 3

Test #80:

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

input:

171386
203087

output:

? 1000000000010
? 1999999657247
! 203088

result:

ok Queries used: 3

Test #81:

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

input:

90652
348085

output:

? 1000000000010
? 1999999818715
! 348086

result:

ok Queries used: 3

Test #82:

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

input:

890588
1012481

output:

? 1000000000010
? 1999998218843
! 1012482

result:

ok Queries used: 3

Test #83:

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

input:

1272238
2082475

output:

? 1000000000010
? 1999997455543
! 2082476

result:

ok Queries used: 3

Test #84:

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

input:

1040362
4148133

output:

? 1000000000010
? 1999997919295
! 4148134

result:

ok Queries used: 3

Test #85:

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

input:

5437730
6746235

output:

? 1000000000010
? 1999989124559
! 6746236

result:

ok Queries used: 3

Test #86:

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

input:

11536034
12469305

output:

? 1000000000010
? 1999976927951
! 12469306

result:

ok Queries used: 3

Test #87:

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

input:

13780292
26393913

output:

? 1000000000010
? 1999972439435
! 26393914

result:

ok Queries used: 3

Test #88:

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

input:

9979002
52487403

output:

? 1000000000010
? 1999980042015
! 52487404

result:

ok Queries used: 3

Test #89:

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

input:

85767860
129943369

output:

? 1000000000010
? 1999828464299
! 129943370

result:

ok Queries used: 3

Test #90:

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

input:

41269934
183042051

output:

? 1000000000010
? 1999917460151
! 183042052

result:

ok Queries used: 3

Test #91:

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

input:

69101470
386073705

output:

? 1000000000010
? 1999861797079
! 386073706

result:

ok Queries used: 3

Test #92:

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

input:

259611242
1059047021

output:

? 1000000000010
? 1999480777535
! 1059047022

result:

ok Queries used: 3

Test #93:

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

input:

1089362954
1300664891

output:

? 1000000000010
? 1997821274111
! 1300664892

result:

ok Queries used: 3

Test #94:

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

input:

851498660
3000445949

output:

? 1000000000010
? 1998297002699
! 3000445950

result:

ok Queries used: 3

Test #95:

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

input:

3648609942
7167995611

output:

? 1000000000010
? 1992702780135
! 7167995612

result:

ok Queries used: 3

Test #96:

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

input:

11694689930
14974322879

output:

? 1000000000010
? 1976610620159
! 14974322880

result:

ok Queries used: 3

Test #97:

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

input:

264722450
33324509251

output:

? 1000000000010
? 1999470555119
! 33324509252

result:

ok Queries used: 3

Test #98:

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

input:

2576740634
41559302473

output:

? 1000000000010
? 1994846518751
! 41559302474

result:

ok Queries used: 3

Test #99:

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

input:

77083274678
131845246475

output:

? 1000000000010
? 1845833450663
! 131845246476

result:

ok Queries used: 3

Test #100:

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

input:

141290783294
143118202785

output:

? 1000000000010
? 1717418433431
! 143118202786

result:

ok Queries used: 3

Test #101:

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

input:

486071415688
513928584321

output:

? 1000000000010
? 1027857168643
! 513928584322

result:

ok Queries used: 3

Test #102:

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

input:

35589991552
964410008457

output:

? 1000000000010
? 1928820016915
! 964410008458

result:

ok Queries used: 3