QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#556763#4326. Maliand5un_xiaomivita_mbox100 ✓3ms4860kbC++14579b2024-09-10 20:42:222024-09-10 20:42:22

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 5
Accepted

Test #1:

score: 5
Accepted
time: 0ms
memory: 3808kb

input:

13 7 8

output:

5
1101001011010
0000011111111

result:

ok all correct!

Test #2:

score: 5
Accepted
time: 0ms
memory: 3740kb

input:

12 5 8

output:

4
110010001100
000011111111

result:

ok all correct!

Test #3:

score: 5
Accepted
time: 0ms
memory: 3808kb

input:

12 8 9

output:

6
110110110110
000111111111

result:

ok all correct!

Test #4:

score: 5
Accepted
time: 0ms
memory: 3816kb

input:

10 8 6

output:

5
1111101110
0000111111

result:

ok all correct!

Test #5:

score: 5
Accepted
time: 0ms
memory: 3812kb

input:

12 6 4

output:

2
110011001100
000000001111

result:

ok all correct!

Test #6:

score: 5
Accepted
time: 0ms
memory: 3892kb

input:

11 6 0

output:

0
11111100000
00000000000

result:

ok all correct!

Test #7:

score: 5
Accepted
time: 0ms
memory: 3740kb

input:

8 3 2

output:

1
10101000
00000011

result:

ok all correct!

Test #8:

score: 5
Accepted
time: 0ms
memory: 3768kb

input:

9 7 4

output:

4
101110111
000001111

result:

ok all correct!

Test #9:

score: 5
Accepted
time: 0ms
memory: 3888kb

input:

13 7 6

output:

4
1000111000111
0000000111111

result:

ok all correct!

Test #10:

score: 5
Accepted
time: 0ms
memory: 3736kb

input:

7 4 1

output:

1
1111000
0000001

result:

ok all correct!

Subtask #2:

score: 50
Accepted

Test #11:

score: 50
Accepted
time: 0ms
memory: 3772kb

input:

4320 44 4275

output:

44
100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #12:

score: 50
Accepted
time: 0ms
memory: 3828kb

input:

4620 2035 4615

output:

2033
1110011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000110001100011000...

result:

ok all correct!

Test #13:

score: 50
Accepted
time: 0ms
memory: 3832kb

input:

4620 4604 5

output:

5
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #14:

score: 50
Accepted
time: 0ms
memory: 3776kb

input:

4620 55 4585

output:

55
100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #15:

score: 50
Accepted
time: 0ms
memory: 3820kb

input:

4680 4212 1890

output:

1701
1111111111111111111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111111...

result:

ok all correct!

Test #16:

score: 50
Accepted
time: 0ms
memory: 3828kb

input:

4320 4104 2880

output:

2736
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #17:

score: 50
Accepted
time: 0ms
memory: 3820kb

input:

4320 4305 51

output:

51
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #18:

score: 50
Accepted
time: 0ms
memory: 3828kb

input:

4680 1032 4524

output:

998
11111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #19:

score: 50
Accepted
time: 0ms
memory: 3756kb

input:

4680 4659 63

output:

63
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #20:

score: 50
Accepted
time: 0ms
memory: 3900kb

input:

4680 16 4640

output:

16
100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #21:

score: 50
Accepted
time: 0ms
memory: 3816kb

input:

4620 4590 57

output:

57
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #22:

score: 50
Accepted
time: 1ms
memory: 3812kb

input:

4320 1392 3960

output:

1276
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #23:

score: 50
Accepted
time: 0ms
memory: 3816kb

input:

4680 4658 36

output:

36
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #24:

score: 50
Accepted
time: 0ms
memory: 3816kb

input:

4680 4160 2408

output:

2141
1111111111111110111111101111111011111110111111111111111011111110111111101111111011111110111111101111111011111110111111101111111011111110111111111111111011111110111111101111111011111111111111101111111011111110111111101111111011111110111111101111111011111110111111101111111011111111111111101111111...

result:

ok all correct!

Test #25:

score: 50
Accepted
time: 0ms
memory: 3768kb

input:

4320 4280 6

output:

6
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #26:

score: 50
Accepted
time: 0ms
memory: 3832kb

input:

4680 12 4656

output:

12
100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #27:

score: 50
Accepted
time: 0ms
memory: 3756kb

input:

4320 4176 3296

output:

3187
1111111111111111111111111111111011111111111111111111111111111110111111111111111111111111111111101111111111111111111111111111111011111111111111111111111111111110111111111111111111111111111111101111111111111111111111111111111011111111111111111111111111111110111111111111111111111111111111101111111...

result:

ok all correct!

Test #28:

score: 50
Accepted
time: 0ms
memory: 3832kb

input:

4680 2223 4676

output:

2222
1100100010001000100010001000100010001000100010001000100010001000100010001000100010001000100010001000100010001000100010001000100010001000100010001000100010001000100010001000100010001000100010001000100010001000100010001000100010001000100010001000100010001000100010001000100010001000100010001000100...

result:

ok all correct!

Test #29:

score: 50
Accepted
time: 0ms
memory: 3832kb

input:

4320 4185 176

output:

171
11111111111111111111111111111110111111111111111011111111111111111111111111111111111111111111111111111111111111101111111111111110111111111111111011111111111111111111111111111111111111111111111111111111111111101111111111111110111111111111111111111111111111111111111111111111111111111111111011111111...

result:

ok all correct!

Test #30:

score: 50
Accepted
time: 0ms
memory: 3700kb

input:

4320 12 4276

output:

12
100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #31:

score: 50
Accepted
time: 0ms
memory: 3812kb

input:

4620 4576 63

output:

63
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #32:

score: 50
Accepted
time: 0ms
memory: 3808kb

input:

4320 51 4276

output:

51
100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #33:

score: 50
Accepted
time: 0ms
memory: 3776kb

input:

4620 2790 4543

output:

2744
1111111111111111111111111111111111111111111111100000000000000000000000000000011111111111111111111111111111111111111111111110000000000000000000000000000000111111111111111111111111111111111111111111111100000000000000000000000000000001111111111111111111111111111111111111111111111000000000000000000...

result:

ok all correct!

Test #34:

score: 50
Accepted
time: 0ms
memory: 3828kb

input:

4680 4641 3878

output:

3846
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011111111111111111111111111111...

result:

ok all correct!

Test #35:

score: 50
Accepted
time: 0ms
memory: 3812kb

input:

4620 4590 1715

output:

1704
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #36:

score: 50
Accepted
time: 0ms
memory: 3964kb

input:

4620 4400 4620

output:

4400
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #37:

score: 50
Accepted
time: 0ms
memory: 3816kb

input:

4620 4235 4011

output:

3677
1111111111111111111101111111111111111111001111111111111111111001111111111111111111101111111111111111111001111111111111111111101111111111111111111001111111111111111111001111111111111111111001111111111111111111001111111111111111111101111111111111111111001111111111111111111001111111111111111111001...

result:

ok all correct!

Test #38:

score: 50
Accepted
time: 0ms
memory: 3816kb

input:

4620 21 4590

output:

21
100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #39:

score: 50
Accepted
time: 0ms
memory: 3960kb

input:

4320 2574 4311

output:

2569
1111110001111100001111100001111100001111100001111100001111100001111100001111100001111100001111100001111100001111100001111100001111100001111100001111100001111100001111100001111100001111100001111100001111100001111100001111100001111100001111100001111100001111100001111100001111100001111100001111100...

result:

ok all correct!

Test #40:

score: 50
Accepted
time: 0ms
memory: 3832kb

input:

4680 4660 6

output:

6
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Subtask #3:

score: 45
Accepted

Test #41:

score: 45
Accepted
time: 0ms
memory: 4672kb

input:

443520 443498 119

output:

119
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #42:

score: 45
Accepted
time: 2ms
memory: 4792kb

input:

491400 84240 491346

output:

84231
111111111100000000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000111111111000000000000000...

result:

ok all correct!

Test #43:

score: 45
Accepted
time: 2ms
memory: 4752kb

input:

480480 121803 478720

output:

121357
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #44:

score: 45
Accepted
time: 2ms
memory: 4744kb

input:

471240 274890 462825

output:

269982
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #45:

score: 45
Accepted
time: 1ms
memory: 4564kb

input:

415800 424 415795

output:

424
10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #46:

score: 45
Accepted
time: 3ms
memory: 4768kb

input:

491400 475020 108066

output:

104464
11111111111111111111111111111111111111111011111111111111111111111111111111111111111011111111111111111111111111111111111111111011111111111111111111111111111111111111111011111111111111111111111111111111111111111011111111111111111111111111111111111111110011111111111111111111111111111111111111110...

result:

ok all correct!

Test #47:

score: 45
Accepted
time: 0ms
memory: 4668kb

input:

443520 443465 293832

output:

293796
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #48:

score: 45
Accepted
time: 3ms
memory: 4736kb

input:

471240 469931 380292

output:

379236
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #49:

score: 45
Accepted
time: 0ms
memory: 4812kb

input:

471240 471204 130

output:

130
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #50:

score: 45
Accepted
time: 0ms
memory: 4628kb

input:

443520 628 443511

output:

628
10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #51:

score: 45
Accepted
time: 2ms
memory: 4604kb

input:

415800 166320 415700

output:

166280
11111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111100000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #52:

score: 45
Accepted
time: 2ms
memory: 4732kb

input:

480480 348 480465

output:

348
10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #53:

score: 45
Accepted
time: 2ms
memory: 4628kb

input:

415800 285400 415789

output:

285393
11111111000111111100001111111000011111110000111111100001111111000011111110000111111100001111111000011111110000111111100001111111000011111110000111111100001111111000011111110000111111100001111111000011111110000111111100001111111000011111110000111111100001111111000011111110000111111100001111111...

result:

ok all correct!

Test #54:

score: 45
Accepted
time: 0ms
memory: 4564kb

input:

415800 410256 400400

output:

395062
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #55:

score: 45
Accepted
time: 1ms
memory: 4788kb

input:

491400 168 491398

output:

168
10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #56:

score: 45
Accepted
time: 3ms
memory: 4572kb

input:

415800 415790 245

output:

245
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #57:

score: 45
Accepted
time: 1ms
memory: 4604kb

input:

443520 298 443490

output:

298
10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #58:

score: 45
Accepted
time: 3ms
memory: 4632kb

input:

480480 480384 66192

output:

66179
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #59:

score: 45
Accepted
time: 3ms
memory: 4776kb

input:

491400 491392 24

output:

24
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #60:

score: 45
Accepted
time: 3ms
memory: 4816kb

input:

471240 471194 144

output:

144
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #61:

score: 45
Accepted
time: 3ms
memory: 4756kb

input:

480480 480446 508

output:

508
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #62:

score: 45
Accepted
time: 0ms
memory: 4764kb

input:

491400 491355 374

output:

374
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #63:

score: 45
Accepted
time: 0ms
memory: 4732kb

input:

498960 498944 94

output:

94
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #64:

score: 45
Accepted
time: 1ms
memory: 4684kb

input:

471240 286 471236

output:

286
10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #65:

score: 45
Accepted
time: 3ms
memory: 4696kb

input:

480480 480459 92

output:

92
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #66:

score: 45
Accepted
time: 2ms
memory: 4860kb

input:

498960 42120 498190

output:

42055
111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #67:

score: 45
Accepted
time: 3ms
memory: 4640kb

input:

415800 415778 105

output:

105
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #68:

score: 45
Accepted
time: 0ms
memory: 4636kb

input:

415800 488 415785

output:

488
10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #69:

score: 45
Accepted
time: 3ms
memory: 4552kb

input:

415800 415800 415794

output:

415794
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #70:

score: 45
Accepted
time: 0ms
memory: 4724kb

input:

471240 97750 471150

output:

97732
111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111000000...

result:

ok all correct!

Test #71:

score: 45
Accepted
time: 0ms
memory: 4852kb

input:

491400 491350 314

output:

314
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #72:

score: 45
Accepted
time: 0ms
memory: 4760kb

input:

491400 496 491398

output:

496
10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #73:

score: 45
Accepted
time: 2ms
memory: 4700kb

input:

498960 52569 498925

output:

52566
111100000000000000000000000000000001110000000000000000000000000000000011100000000000000000000000000000000111000000000000000000000000000000001110000000000000000000000000000000011100000000000000000000000000000000111000000000000000000000000000000001110000000000000000000000000000000011100000000000...

result:

ok all correct!

Test #74:

score: 45
Accepted
time: 0ms
memory: 4784kb

input:

498960 498910 11

output:

11
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #75:

score: 45
Accepted
time: 1ms
memory: 4600kb

input:

443520 259 443478

output:

259
10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #76:

score: 45
Accepted
time: 2ms
memory: 4824kb

input:

443520 87780 443136

output:

87704
111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #77:

score: 45
Accepted
time: 0ms
memory: 4788kb

input:

498960 498958 512

output:

512
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #78:

score: 45
Accepted
time: 3ms
memory: 4732kb

input:

443520 442750 199980

output:

199633
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #79:

score: 45
Accepted
time: 2ms
memory: 4752kb

input:

443520 128576 442624

output:

128317
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000000...

result:

ok all correct!

Test #80:

score: 45
Accepted
time: 0ms
memory: 4784kb

input:

498960 495396 168804

output:

167599
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #81:

score: 45
Accepted
time: 2ms
memory: 4860kb

input:

498960 682 498930

output:

682
10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #82:

score: 45
Accepted
time: 3ms
memory: 4756kb

input:

443520 443518 422

output:

422
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #83:

score: 45
Accepted
time: 3ms
memory: 4704kb

input:

480480 480438 204204

output:

204187
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #84:

score: 45
Accepted
time: 3ms
memory: 4848kb

input:

491400 491100 13104

output:

13096
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #85:

score: 45
Accepted
time: 3ms
memory: 4688kb

input:

480480 480469 88664

output:

88662
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #86:

score: 45
Accepted
time: 0ms
memory: 4696kb

input:

491400 73350 491365

output:

73345
111111000000000000000000000000000001111100000000000000000000000000000011111000000000000000000000000000000111110000000000000000000000000000001111100000000000000000000000000000011111000000000000000000000000000000111110000000000000000000000000000001111100000000000000000000000000000011111000000000...

result:

ok all correct!

Test #87:

score: 45
Accepted
time: 3ms
memory: 4676kb

input:

480480 480471 511

output:

511
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #88:

score: 45
Accepted
time: 0ms
memory: 4720kb

input:

491400 167180 490932

output:

167021
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #89:

score: 45
Accepted
time: 2ms
memory: 4784kb

input:

498960 674 498953

output:

674
10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #90:

score: 45
Accepted
time: 3ms
memory: 4704kb

input:

480480 480442 154

output:

154
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #91:

score: 45
Accepted
time: 3ms
memory: 4776kb

input:

498960 482869 498645

output:

482565
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #92:

score: 45
Accepted
time: 3ms
memory: 4672kb

input:

471240 471225 390

output:

390
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #93:

score: 45
Accepted
time: 0ms
memory: 4668kb

input:

443520 150528 442880

output:

150311
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #94:

score: 45
Accepted
time: 3ms
memory: 4672kb

input:

471240 471194 472

output:

472
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #95:

score: 45
Accepted
time: 0ms
memory: 4764kb

input:

415800 410025 147125

output:

145082
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000111111111111111111...

result:

ok all correct!

Test #96:

score: 45
Accepted
time: 1ms
memory: 4700kb

input:

415800 184 415773

output:

184
10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct!

Test #97:

score: 45
Accepted
time: 2ms
memory: 4680kb

input:

471240 104620 468435

output:

103998
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #98:

score: 45
Accepted
time: 0ms
memory: 4732kb

input:

498960 341352 498795

output:

341240
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000...

result:

ok all correct!

Test #99:

score: 45
Accepted
time: 0ms
memory: 4672kb

input:

480480 479752 185328

output:

185048
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Test #100:

score: 45
Accepted
time: 3ms
memory: 4676kb

input:

471240 471174 334356

output:

334310
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...

result:

ok all correct!

Extra Test:

score: 0
Extra Test Passed