QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#151450#5556. Diabolic DoofenshmirtzZhaoZiLongAC ✓2ms3556kbC++20247b2023-08-26 17:43:122023-08-26 17:43:14

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

26
41

output:

? 1010000000000
? 2019999999947
! 42

result:

ok Queries used: 3

Test #2:

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

input:

1181
1336

output:

? 1010000000000
? 2019999997637
! 1337

result:

ok Queries used: 3

Test #3:

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

input:

0
0

output:

? 1010000000000
? 2019999999999
! 1

result:

ok Queries used: 3

Test #4:

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

input:

0
1

output:

? 1010000000000
? 2019999999999
! 2

result:

ok Queries used: 3

Test #5:

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

input:

2
2

output:

? 1010000000000
? 2019999999995
! 3

result:

ok Queries used: 3

Test #6:

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

input:

0
3

output:

? 1010000000000
? 2019999999999
! 4

result:

ok Queries used: 3

Test #7:

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

input:

0
4

output:

? 1010000000000
? 2019999999999
! 5

result:

ok Queries used: 3

Test #8:

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

input:

2
5

output:

? 1010000000000
? 2019999999995
! 6

result:

ok Queries used: 3

Test #9:

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

input:

5
6

output:

? 1010000000000
? 2019999999989
! 7

result:

ok Queries used: 3

Test #10:

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

input:

0
7

output:

? 1010000000000
? 2019999999999
! 8

result:

ok Queries used: 3

Test #11:

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

input:

2
8

output:

? 1010000000000
? 2019999999995
! 9

result:

ok Queries used: 3

Test #12:

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

input:

5
14

output:

? 1010000000000
? 2019999999989
! 15

result:

ok Queries used: 3

Test #13:

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

input:

0
15

output:

? 1010000000000
? 2019999999999
! 16

result:

ok Queries used: 3

Test #14:

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

input:

15
16

output:

? 1010000000000
? 2019999999969
! 17

result:

ok Queries used: 3

Test #15:

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

input:

211672501766
798327498233

output:

? 1010000000000
? 1596654996467
! 798327498234

result:

ok Queries used: 3

Test #16:

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

input:

267016426713
742983573286

output:

? 1010000000000
? 1485967146573
! 742983573287

result:

ok Queries used: 3

Test #17:

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

input:

26497137704
327834287431

output:

? 1010000000000
? 1967005724591
! 327834287432

result:

ok Queries used: 3

Test #18:

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

input:

185134025754
412432987122

output:

? 1010000000000
? 1649731948491
! 412432987123

result:

ok Queries used: 3

Test #19:

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

input:

29276575676
980723424323

output:

? 1010000000000
? 1961446848647
! 980723424324

result:

ok Queries used: 3

Test #20:

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

input:

22765125676
987234874323

output:

? 1010000000000
? 1974469748647
! 987234874324

result:

ok Queries used: 3

Test #21:

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

input:

33217805679
976782194320

output:

? 1010000000000
? 1953564388641
! 976782194321

result:

ok Queries used: 3

Test #22:

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

input:

144024938036
432987530981

output:

? 1010000000000
? 1731950123927
! 432987530982

result:

ok Queries used: 3

Test #23:

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

input:

460244186113
549755813886

output:

? 1010000000000
? 1099511627773
! 549755813887

result:

ok Queries used: 3

Test #24:

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

input:

460244186112
549755813887

output:

? 1010000000000
? 1099511627775
! 549755813888

result:

ok Queries used: 3

Test #25:

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

input:

460244186111
549755813888

output:

? 1010000000000
? 1099511627777
! 549755813889

result:

ok Queries used: 3

Test #26:

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

input:

10000000001
999999999998

output:

? 1010000000000
? 1999999999997
! 999999999999

result:

ok Queries used: 3

Test #27:

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

input:

10000000000
999999999999

output:

? 1010000000000
? 1999999999999
! 1000000000000

result:

ok Queries used: 3

Test #28:

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

input:

51038796800
87178291199

output:

? 1010000000000
? 1917922406399
! 87178291200

result:

ok Queries used: 3

Test #29:

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

input:

46238801600
80313433199

output:

? 1010000000000
? 1927522396799
! 80313433200

result:

ok Queries used: 3

Test #30:

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

input:

46238801600
963761198399

output:

? 1010000000000
? 1927522396799
! 963761198400

result:

ok Queries used: 3

Test #31:

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

input:

11
26

output:

? 1010000000000
? 2019999999977
! 27

result:

ok Queries used: 3

Test #32:

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

input:

32
50

output:

? 1010000000000
? 2019999999935
! 51

result:

ok Queries used: 3

Test #33:

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

input:

2
96

output:

? 1010000000000
? 2019999999995
! 97

result:

ok Queries used: 3

Test #34:

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

input:

185
254

output:

? 1010000000000
? 2019999999629
! 255

result:

ok Queries used: 3

Test #35:

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

input:

78
276

output:

? 1010000000000
? 2019999999843
! 277

result:

ok Queries used: 3

Test #36:

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

input:

432
840

output:

? 1010000000000
? 2019999999135
! 841

result:

ok Queries used: 3

Test #37:

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

input:

392
1666

output:

? 1010000000000
? 2019999999215
! 1667

result:

ok Queries used: 3

Test #38:

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

input:

1481
2198

output:

? 1010000000000
? 2019999997037
! 2199

result:

ok Queries used: 3

Test #39:

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

input:

936
6208

output:

? 1010000000000
? 2019999998127
! 6209

result:

ok Queries used: 3

Test #40:

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

input:

7239
8320

output:

? 1010000000000
? 2019999985521
! 8321

result:

ok Queries used: 3

Test #41:

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

input:

22493
29582

output:

? 1010000000000
? 2019999955013
! 29583

result:

ok Queries used: 3

Test #42:

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

input:

26182
47542

output:

? 1010000000000
? 2019999947635
! 47543

result:

ok Queries used: 3

Test #43:

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

input:

40433
67610

output:

? 1010000000000
? 2019999919133
! 67611

result:

ok Queries used: 3

Test #44:

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

input:

27095
190364

output:

? 1010000000000
? 2019999945809
! 190365

result:

ok Queries used: 3

Test #45:

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

input:

170549
283486

output:

? 1010000000000
? 2019999658901
! 283487

result:

ok Queries used: 3

Test #46:

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

input:

770140
856642

output:

? 1010000000000
? 2019998459719
! 856643

result:

ok Queries used: 3

Test #47:

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

input:

152064
1530376

output:

? 1010000000000
? 2019999695871
! 1530377

result:

ok Queries used: 3

Test #48:

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

input:

173975
2419224

output:

? 1010000000000
? 2019999652049
! 2419225

result:

ok Queries used: 3

Test #49:

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

input:

6597739
7714996

output:

? 1010000000000
? 2019986804521
! 7714997

result:

ok Queries used: 3

Test #50:

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

input:

1377314
10772858

output:

? 1010000000000
? 2019997245371
! 10772859

result:

ok Queries used: 3

Test #51:

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

input:

23219509
25972092

output:

? 1010000000000
? 2019953560981
! 25972093

result:

ok Queries used: 3

Test #52:

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

input:

3541452
57819810

output:

? 1010000000000
? 2019992917095
! 57819811

result:

ok Queries used: 3

Test #53:

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

input:

83003478
91164198

output:

? 1010000000000
? 2019833993043
! 91164199

result:

ok Queries used: 3

Test #54:

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

input:

111951009
262104346

output:

? 1010000000000
? 2019776097981
! 262104347

result:

ok Queries used: 3

Test #55:

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

input:

310717289
442652030

output:

? 1010000000000
? 2019378565421
! 442652031

result:

ok Queries used: 3

Test #56:

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

input:

743044250
768079874

output:

? 1010000000000
? 2018513911499
! 768079875

result:

ok Queries used: 3

Test #57:

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

input:

1941430500
2016117138

output:

? 1010000000000
? 2016117138999
! 2016117139

result:

ok Queries used: 3

Test #58:

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

input:

436084865
3959074176

output:

? 1010000000000
? 2019127830269
! 3959074177

result:

ok Queries used: 3

Test #59:

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

input:

4268745992
4656163212

output:

? 1010000000000
? 2011462508015
! 4656163213

result:

ok Queries used: 3

Test #60:

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

input:

4171507832
13969840168

output:

? 1010000000000
? 2011656984335
! 13969840169

result:

ok Queries used: 3

Test #61:

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

input:

2660775728
20986233838

output:

? 1010000000000
? 2014678448543
! 20986233839

result:

ok Queries used: 3

Test #62:

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

input:

25027314580
49248634270

output:

? 1010000000000
? 1969945370839
! 49248634271

result:

ok Queries used: 3

Test #63:

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

input:

19005331352
123874333580

output:

? 1010000000000
? 1981989337295
! 123874333581

result:

ok Queries used: 3

Test #64:

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

input:

2685825372
251828543656

output:

? 1010000000000
? 2014628349255
! 251828543657

result:

ok Queries used: 3

Test #65:

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

input:

196610015322
406694992338

output:

? 1010000000000
? 1626779969355
! 406694992339

result:

ok Queries used: 3

Test #66:

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

input:

124836217177
885163782822

output:

? 1010000000000
? 1770327565645
! 885163782823

result:

ok Queries used: 3

Test #67:

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

input:

0
15

output:

? 1010000000000
? 2019999999999
! 16

result:

ok Queries used: 3

Test #68:

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

input:

26
57

output:

? 1010000000000
? 2019999999947
! 58

result:

ok Queries used: 3

Test #69:

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

input:

92
107

output:

? 1010000000000
? 2019999999815
! 108

result:

ok Queries used: 3

Test #70:

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

input:

60
163

output:

? 1010000000000
? 2019999999879
! 164

result:

ok Queries used: 3

Test #71:

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

input:

204
315

output:

? 1010000000000
? 2019999999591
! 316

result:

ok Queries used: 3

Test #72:

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

input:

500
749

output:

? 1010000000000
? 2019999998999
! 750

result:

ok Queries used: 3

Test #73:

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

input:

320
1063

output:

? 1010000000000
? 2019999999359
! 1064

result:

ok Queries used: 3

Test #74:

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

input:

720
2119

output:

? 1010000000000
? 2019999998559
! 2120

result:

ok Queries used: 3

Test #75:

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

input:

1460
6459

output:

? 1010000000000
? 2019999997079
! 6460

result:

ok Queries used: 3

Test #76:

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

input:

9760
10719

output:

? 1010000000000
? 2019999980479
! 10720

result:

ok Queries used: 3

Test #77:

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

input:

15686
18037

output:

? 1010000000000
? 2019999968627
! 18038

result:

ok Queries used: 3

Test #78:

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

input:

27954
47077

output:

? 1010000000000
? 2019999944091
! 47078

result:

ok Queries used: 3

Test #79:

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

input:

85736
115895

output:

? 1010000000000
? 2019999828527
! 115896

result:

ok Queries used: 3

Test #80:

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

input:

118256
203087

output:

? 1010000000000
? 2019999763487
! 203088

result:

ok Queries used: 3

Test #81:

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

input:

276034
348085

output:

? 1010000000000
? 2019999447931
! 348086

result:

ok Queries used: 3

Test #82:

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

input:

605864
1012481

output:

? 1010000000000
? 2019998788271
! 1012482

result:

ok Queries used: 3

Test #83:

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

input:

1222476
2082475

output:

? 1010000000000
? 2019997555047
! 2082476

result:

ok Queries used: 3

Test #84:

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

input:

4037412
4148133

output:

? 1010000000000
? 2019991925175
! 4148134

result:

ok Queries used: 3

Test #85:

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

input:

769732
6746235

output:

? 1010000000000
? 2019998460535
! 6746236

result:

ok Queries used: 3

Test #86:

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

input:

11152612
12469305

output:

? 1010000000000
? 2019977694775
! 12469306

result:

ok Queries used: 3

Test #87:

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

input:

10486876
26393913

output:

? 1010000000000
? 2019979026247
! 26393914

result:

ok Queries used: 3

Test #88:

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

input:

37372232
52487403

output:

? 1010000000000
? 2019925255535
! 52487404

result:

ok Queries used: 3

Test #89:

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

input:

80128360
129943369

output:

? 1010000000000
? 2019839743279
! 129943370

result:

ok Queries used: 3

Test #90:

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

input:

156999116
183042051

output:

? 1010000000000
? 2019686001767
! 183042052

result:

ok Queries used: 3

Test #91:

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

input:

31185104
386073705

output:

? 1010000000000
? 2019937629791
! 386073706

result:

ok Queries used: 3

Test #92:

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

input:

728188034
1059047021

output:

? 1010000000000
? 2018543623931
! 1059047022

result:

ok Queries used: 3

Test #93:

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

input:

684043808
1300664891

output:

? 1010000000000
? 2018631912383
! 1300664892

result:

ok Queries used: 3

Test #94:

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

input:

1850160800
3000445949

output:

? 1010000000000
? 2016299678399
! 3000445950

result:

ok Queries used: 3

Test #95:

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

input:

6480614320
7167995611

output:

? 1010000000000
? 2007038771359
! 7167995612

result:

ok Queries used: 3

Test #96:

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

input:

6720367040
14974322879

output:

? 1010000000000
? 2006559265919
! 14974322880

result:

ok Queries used: 3

Test #97:

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

input:

10264722440
33324509251

output:

? 1010000000000
? 1999470555119
! 33324509252

result:

ok Queries used: 3

Test #98:

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

input:

12576740624
41559302473

output:

? 1010000000000
? 1994846518751
! 41559302474

result:

ok Queries used: 3

Test #99:

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

input:

87083274668
131845246475

output:

? 1010000000000
? 1845833450663
! 131845246476

result:

ok Queries used: 3

Test #100:

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

input:

8172580498
143118202785

output:

? 1010000000000
? 2003654839003
! 143118202786

result:

ok Queries used: 3

Test #101:

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

input:

496071415678
513928584321

output:

? 1010000000000
? 1027857168643
! 513928584322

result:

ok Queries used: 3

Test #102:

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

input:

45589991542
964410008457

output:

? 1010000000000
? 1928820016915
! 964410008458

result:

ok Queries used: 3