QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#290330#3088. GamesidAC ✓156ms18504kbC++141.7kb2023-12-24 20:29:152023-12-24 20:29:15

詳細信息

Test #1:

score: 100
Accepted
time: 140ms
memory: 15656kb

input:

64 972948592742704203
1 3 4 5 6 7 9 10 11 12 13 14 18 19 20 21 23 26 28 31 33 34 35 37 38 39 41 43 44 47 48 49 52 53 54 55 58 60 61 62 67 69 70 72 74 76 77 78 79 82 83 84 85 86 87 89 90 92 93 94 95 96 98 100

output:

414036863

result:

ok single line: '414036863'

Test #2:

score: 0
Accepted
time: 135ms
memory: 17160kb

input:

81 45343239642193514
1 3 4 6 7 8 9 12 13 14 16 17 18 19 20 21 22 25 26 27 28 29 30 31 32 33 34 37 38 39 40 41 42 44 45 46 47 49 50 51 52 53 56 57 58 59 60 61 63 64 65 66 67 68 69 70 72 73 74 75 77 78 79 80 81 82 83 84 85 86 87 88 90 91 92 93 95 96 97 98 100

output:

70277639

result:

ok single line: '70277639'

Test #3:

score: 0
Accepted
time: 138ms
memory: 16776kb

input:

76 443624042595972229
2 3 4 5 6 7 8 9 10 11 14 15 17 18 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 39 40 42 44 45 46 47 48 49 50 51 53 54 55 56 58 60 61 62 64 65 67 68 69 70 72 73 74 76 77 78 79 80 81 82 83 85 86 87 91 92 93 95 96 97 100

output:

335549827

result:

ok single line: '335549827'

Test #4:

score: 0
Accepted
time: 142ms
memory: 18168kb

input:

93 289918859682335475
1 2 3 4 5 6 7 8 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 38 39 40 41 42 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 87 88 89 90 91 92 93 94 95 96 97 98 99 100

output:

565869271

result:

ok single line: '565869271'

Test #5:

score: 0
Accepted
time: 145ms
memory: 17720kb

input:

65 43423761853578977
1 2 3 5 6 8 9 10 11 12 14 17 19 21 22 23 24 25 26 27 29 31 32 33 34 36 38 41 44 45 46 47 48 49 50 51 54 55 56 57 60 61 64 67 71 72 73 74 75 76 77 80 83 84 85 86 87 91 93 94 95 96 97 98 99

output:

249282710

result:

ok single line: '249282710'

Test #6:

score: 0
Accepted
time: 138ms
memory: 18352kb

input:

59 535595204203356116
2 3 4 5 9 10 12 15 16 17 18 20 22 23 24 25 26 30 33 34 35 39 40 41 44 48 49 50 51 53 54 56 57 58 59 60 62 64 65 66 71 72 73 76 77 78 79 80 82 83 84 87 88 92 95 96 97 99 100

output:

141817056

result:

ok single line: '141817056'

Test #7:

score: 0
Accepted
time: 144ms
memory: 17688kb

input:

99 288590854780573717
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97...

output:

654044999

result:

ok single line: '654044999'

Test #8:

score: 0
Accepted
time: 135ms
memory: 16520kb

input:

52 911717802412992018
1 2 4 11 12 13 16 17 18 21 23 24 26 27 28 30 33 34 36 38 43 44 47 48 49 50 51 55 61 64 65 66 69 70 71 72 73 74 76 78 79 80 81 83 87 88 89 90 93 97 99 100

output:

583925198

result:

ok single line: '583925198'

Test #9:

score: 0
Accepted
time: 138ms
memory: 17316kb

input:

87 364639589999920149
1 2 4 5 6 7 8 9 10 11 12 13 14 17 18 20 22 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 41 42 43 45 46 47 48 49 50 51 52 53 54 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 77 78 79 80 82 83 84 85 86 87 88 89 90 92 93 94 95 96 97 98 99 100

output:

953641836

result:

ok single line: '953641836'

Test #10:

score: 0
Accepted
time: 139ms
memory: 16076kb

input:

82 943457195545475316
1 2 3 4 5 6 7 8 9 11 12 13 14 15 16 17 18 19 20 23 25 26 27 28 29 31 32 33 34 35 36 37 38 39 40 41 42 44 45 46 47 49 50 51 52 53 54 55 56 57 59 60 61 62 63 65 66 68 69 70 71 75 76 78 79 81 82 83 84 85 86 87 88 89 90 91 92 93 95 96 97 99

output:

189619159

result:

ok single line: '189619159'

Test #11:

score: 0
Accepted
time: 147ms
memory: 16048kb

input:

68 547607288939922717
1 2 3 6 7 9 11 13 15 16 17 18 19 20 21 23 24 27 29 31 33 34 35 36 38 39 40 42 43 44 46 48 49 51 54 55 56 57 58 59 60 63 64 65 67 69 70 71 72 74 75 76 77 79 80 81 82 83 84 85 86 87 89 91 93 94 97 99

output:

356952684

result:

ok single line: '356952684'

Test #12:

score: 0
Accepted
time: 138ms
memory: 18184kb

input:

52 194837994528339535
1 3 4 8 9 13 14 16 18 20 22 23 24 26 27 28 30 31 34 35 39 40 41 42 44 45 46 47 50 52 53 55 56 59 60 61 62 63 66 67 68 71 73 76 77 78 79 87 89 91 92 94

output:

207589353

result:

ok single line: '207589353'

Test #13:

score: 0
Accepted
time: 147ms
memory: 17500kb

input:

73 827150950425024398
1 2 3 5 6 8 9 10 11 12 14 17 18 19 22 23 24 25 26 28 29 30 31 32 33 35 36 37 38 39 40 42 43 44 45 49 50 52 53 55 58 59 60 61 62 63 64 66 67 70 72 73 74 75 76 77 78 79 80 81 83 84 85 87 91 93 94 95 96 97 98 99 100

output:

844433207

result:

ok single line: '844433207'

Test #14:

score: 0
Accepted
time: 152ms
memory: 17316kb

input:

66 116662376462182935
1 2 5 6 7 8 11 12 13 14 17 19 20 21 22 23 25 26 28 29 30 31 34 35 36 37 38 39 43 45 46 47 48 49 50 53 57 59 61 63 64 67 68 69 71 72 74 75 76 77 78 79 83 84 85 86 87 88 89 90 92 93 94 95 97 99

output:

524522232

result:

ok single line: '524522232'

Test #15:

score: 0
Accepted
time: 136ms
memory: 16160kb

input:

75 985732312465432048
1 2 4 5 7 8 10 11 12 13 14 15 16 17 18 20 21 25 26 27 28 29 30 31 32 35 36 37 40 41 42 43 45 46 47 48 50 51 52 53 54 55 56 57 59 60 61 63 64 65 66 67 68 70 71 72 73 74 75 76 77 79 81 82 84 87 88 89 90 92 93 94 97 99 100

output:

921010873

result:

ok single line: '921010873'

Test #16:

score: 0
Accepted
time: 138ms
memory: 16484kb

input:

74 236726722741977513
1 3 4 6 7 8 9 10 11 13 14 15 16 17 18 19 21 23 24 25 26 27 28 29 30 31 33 34 35 36 37 40 41 42 43 44 45 46 48 49 50 51 53 56 60 61 62 65 66 67 68 69 71 72 73 74 75 77 78 79 80 83 84 86 87 88 89 90 91 92 95 96 97 99

output:

749384651

result:

ok single line: '749384651'

Test #17:

score: 0
Accepted
time: 146ms
memory: 17180kb

input:

80 464371660998155216
1 3 4 5 6 7 8 11 13 14 17 18 19 20 21 22 24 25 27 28 29 30 31 32 35 36 37 38 39 40 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 65 66 67 68 69 70 71 72 73 75 77 80 81 82 83 84 85 86 87 89 90 91 92 94 95 96 97 99 100

output:

395791764

result:

ok single line: '395791764'

Test #18:

score: 0
Accepted
time: 143ms
memory: 18424kb

input:

51 282806839759425713
1 2 6 8 10 11 13 16 17 18 21 24 25 27 29 31 33 34 35 38 39 41 42 47 48 50 55 58 61 62 63 64 65 72 74 76 77 78 81 82 83 85 88 89 90 91 93 94 97 98 100

output:

260611605

result:

ok single line: '260611605'

Test #19:

score: 0
Accepted
time: 140ms
memory: 17200kb

input:

87 743895456714594177
1 2 3 4 5 7 8 9 10 11 12 13 14 15 16 17 19 21 22 23 24 25 26 27 28 29 31 32 33 34 35 36 38 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 71 72 73 75 76 77 78 79 80 81 82 83 84 85 86 87 88 90 92 93 94 96 97 98 99 100

output:

204036438

result:

ok single line: '204036438'

Test #20:

score: 0
Accepted
time: 144ms
memory: 18340kb

input:

100 786116087501917881
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 9...

output:

653783266

result:

ok single line: '653783266'

Test #21:

score: 0
Accepted
time: 139ms
memory: 15976kb

input:

92 136476262588992444
1 2 3 4 5 6 7 9 10 11 12 13 15 16 17 18 19 20 21 22 23 24 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 76 77 78 79 80 81 82 83 84 85 86 87 88 90 91 92 93 94 95 97 98 99 100

output:

877817224

result:

ok single line: '877817224'

Test #22:

score: 0
Accepted
time: 143ms
memory: 18260kb

input:

62 133554181523861023
1 3 5 9 12 18 19 20 21 22 26 27 28 29 30 31 32 33 34 38 39 42 43 44 45 47 48 50 51 53 54 55 56 57 58 59 60 61 64 65 68 70 71 72 73 74 75 76 77 80 81 82 84 85 87 88 89 90 92 93 98 100

output:

669245709

result:

ok single line: '669245709'

Test #23:

score: 0
Accepted
time: 144ms
memory: 18168kb

input:

100 291552455630832684
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 9...

output:

483538151

result:

ok single line: '483538151'

Test #24:

score: 0
Accepted
time: 141ms
memory: 17608kb

input:

87 205646708866104353
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 20 22 23 25 26 27 28 29 30 31 32 33 34 35 37 40 41 42 43 44 45 46 47 48 49 50 52 53 54 55 56 57 58 59 60 61 62 64 65 66 67 68 69 70 71 72 73 74 76 77 78 79 80 81 82 83 84 85 88 89 90 91 93 95 96 97 98 99 100

output:

698023450

result:

ok single line: '698023450'

Test #25:

score: 0
Accepted
time: 143ms
memory: 17120kb

input:

76 426073209327106620
1 2 3 5 6 7 8 10 11 12 13 14 18 20 22 23 24 28 29 34 35 36 37 38 39 40 41 42 43 44 46 47 49 50 51 52 55 56 57 58 59 60 61 63 64 65 66 67 69 70 72 73 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 94 95 96 97 99 100

output:

825986789

result:

ok single line: '825986789'

Test #26:

score: 0
Accepted
time: 147ms
memory: 18412kb

input:

100 308052049553182165
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 9...

output:

168456918

result:

ok single line: '168456918'

Test #27:

score: 0
Accepted
time: 135ms
memory: 15780kb

input:

76 736724246509817986
1 2 3 4 5 6 7 8 9 10 13 15 16 17 18 19 20 21 22 23 25 26 27 28 29 31 32 33 35 36 38 41 42 44 47 49 50 51 52 53 55 56 59 60 61 63 64 65 66 68 72 73 74 75 77 78 79 80 82 83 84 85 86 87 88 89 90 91 92 93 95 96 97 98 99 100

output:

688103012

result:

ok single line: '688103012'

Test #28:

score: 0
Accepted
time: 136ms
memory: 16732kb

input:

88 110809014907877976
1 2 3 4 5 6 7 8 9 10 11 13 14 15 16 17 18 19 21 22 23 24 25 29 30 31 32 33 34 36 37 38 39 40 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 63 64 65 67 68 69 70 71 72 73 74 75 76 77 78 79 81 83 84 85 86 87 88 89 91 92 93 94 95 96 97 98 99 100

output:

578170512

result:

ok single line: '578170512'

Test #29:

score: 0
Accepted
time: 140ms
memory: 16544kb

input:

97 8522433267943398
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 87 89 90 91 92 93 94 95 96 97 98 99 100

output:

485057969

result:

ok single line: '485057969'

Test #30:

score: 0
Accepted
time: 145ms
memory: 15740kb

input:

52 409128001599083615
2 4 6 8 15 16 17 19 20 21 24 26 27 28 30 31 32 34 35 37 39 41 42 43 44 47 48 49 50 52 54 55 57 65 66 69 70 74 75 78 79 80 81 82 85 86 89 92 96 97 98 100

output:

639313568

result:

ok single line: '639313568'

Test #31:

score: 0
Accepted
time: 132ms
memory: 16432kb

input:

62 434828915876428217
1 2 3 5 6 7 8 9 10 12 13 14 16 17 18 19 20 21 22 23 24 25 27 29 31 32 34 35 38 39 40 41 42 46 48 49 50 51 56 58 62 63 67 69 70 71 72 73 74 75 77 80 84 85 86 88 89 92 93 95 96 100

output:

415808968

result:

ok single line: '415808968'

Test #32:

score: 0
Accepted
time: 136ms
memory: 17204kb

input:

97 103718907374448220
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 99...

output:

917967647

result:

ok single line: '917967647'

Test #33:

score: 0
Accepted
time: 145ms
memory: 17316kb

input:

87 849402514290637680
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 30 31 32 33 34 35 36 37 39 41 42 43 44 47 49 50 51 52 54 55 56 57 58 59 60 61 63 64 65 66 67 68 69 70 71 72 74 76 77 78 80 81 82 83 84 85 86 87 88 89 90 91 92 93 95 96 97 98 99 100

output:

316071925

result:

ok single line: '316071925'

Test #34:

score: 0
Accepted
time: 140ms
memory: 17772kb

input:

56 678193952395107040
2 4 5 8 9 10 15 16 18 19 20 21 22 23 25 28 29 30 34 39 40 41 43 44 46 48 49 52 53 54 57 59 63 64 66 67 68 70 72 77 78 80 81 82 83 85 86 87 88 91 92 96 97 98 99 100

output:

911648303

result:

ok single line: '911648303'

Test #35:

score: 0
Accepted
time: 142ms
memory: 17108kb

input:

75 620326353486854257
1 2 3 4 6 7 8 10 14 15 16 17 18 21 22 23 24 25 26 27 28 30 31 32 33 34 36 37 38 39 40 42 44 45 46 48 49 50 51 54 55 56 57 59 60 61 62 64 66 68 70 71 73 75 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 94 95 96 98 99 100

output:

858941573

result:

ok single line: '858941573'

Test #36:

score: 0
Accepted
time: 138ms
memory: 17316kb

input:

100 187863285653547045
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 9...

output:

768371954

result:

ok single line: '768371954'

Test #37:

score: 0
Accepted
time: 134ms
memory: 16568kb

input:

59 579316497829675532
1 3 4 7 8 9 11 12 13 14 15 19 20 23 25 26 28 34 35 37 38 39 42 43 45 47 48 49 52 54 55 58 60 61 63 66 69 71 72 73 75 76 77 79 81 82 83 85 87 89 90 91 92 93 94 95 97 98 99

output:

881703189

result:

ok single line: '881703189'

Test #38:

score: 0
Accepted
time: 143ms
memory: 18248kb

input:

70 339805959444370808
1 2 3 5 6 7 9 10 11 12 13 14 15 16 19 21 22 24 25 26 27 28 29 30 31 32 33 34 36 37 38 41 43 44 45 47 48 49 50 51 52 53 57 59 60 61 62 63 65 66 67 68 70 71 72 74 77 78 83 84 86 87 88 89 92 93 94 96 98 100

output:

689635230

result:

ok single line: '689635230'

Test #39:

score: 0
Accepted
time: 136ms
memory: 17784kb

input:

94 46846115997742234
1 2 3 4 5 6 7 8 9 10 11 13 14 15 16 17 18 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 68 69 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 100

output:

980483511

result:

ok single line: '980483511'

Test #40:

score: 0
Accepted
time: 137ms
memory: 17312kb

input:

94 580785356222710892
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 40 41 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 74 75 76 77 78 79 80 81 82 83 84 85 86 87 89 90 91 92 94 95 96 97 98 99 100

output:

885035452

result:

ok single line: '885035452'

Test #41:

score: 0
Accepted
time: 156ms
memory: 17144kb

input:

60 638713503337574694
2 3 5 6 7 8 9 11 12 13 15 16 18 20 21 22 24 27 28 30 31 32 33 34 35 37 40 42 45 46 47 49 50 52 54 55 56 60 61 62 64 66 68 69 71 73 74 75 76 78 79 82 86 87 89 90 92 93 97 100

output:

888389295

result:

ok single line: '888389295'

Test #42:

score: 0
Accepted
time: 144ms
memory: 16160kb

input:

62 637965414138110463
1 3 6 8 10 11 14 15 16 19 21 22 24 27 29 30 31 32 34 35 37 38 40 41 42 43 44 46 47 48 49 51 53 56 57 58 59 61 63 66 67 68 69 70 71 72 73 75 76 77 79 82 84 88 89 90 92 93 94 96 99 100

output:

367714140

result:

ok single line: '367714140'

Test #43:

score: 0
Accepted
time: 139ms
memory: 17728kb

input:

71 362137851689001828
1 3 4 6 7 8 12 13 15 18 20 21 23 24 25 26 27 28 30 31 33 35 36 37 38 40 41 42 45 46 49 50 51 52 53 55 57 58 62 63 64 65 67 68 69 70 71 72 73 74 75 76 77 80 81 83 84 85 86 87 88 89 90 93 94 95 96 97 98 99 100

output:

722747910

result:

ok single line: '722747910'

Test #44:

score: 0
Accepted
time: 149ms
memory: 17768kb

input:

59 603961554833400681
4 9 10 11 13 14 15 16 18 19 20 21 23 24 25 27 30 32 34 35 36 37 38 39 43 45 46 47 48 49 52 53 54 55 56 57 58 59 60 66 70 73 74 76 78 80 81 82 84 85 86 87 88 89 91 94 95 97 98

output:

221195466

result:

ok single line: '221195466'

Test #45:

score: 0
Accepted
time: 140ms
memory: 16344kb

input:

94 975101873500150360
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 53 55 56 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 91 92 93 94 95 97 98 99 100

output:

855640691

result:

ok single line: '855640691'

Test #46:

score: 0
Accepted
time: 136ms
memory: 15732kb

input:

92 334861219310765573
1 2 3 4 5 6 7 8 10 11 12 13 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 46 47 48 49 50 51 52 53 54 55 56 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 78 80 81 82 84 85 86 87 88 89 90 91 92 94 95 96 97 98 99 100

output:

440958478

result:

ok single line: '440958478'

Test #47:

score: 0
Accepted
time: 144ms
memory: 17660kb

input:

65 588469847509789389
3 4 5 6 8 9 12 13 14 16 17 18 19 21 24 25 27 28 29 30 32 33 34 36 37 38 39 41 44 46 47 48 49 51 52 54 55 56 58 60 61 63 64 65 72 73 74 77 78 80 81 82 83 84 85 86 87 89 90 92 95 96 98 99 100

output:

431261071

result:

ok single line: '431261071'

Test #48:

score: 0
Accepted
time: 149ms
memory: 16300kb

input:

67 214692090458119006
1 2 3 4 6 7 8 11 12 13 14 16 17 20 21 22 23 25 29 30 31 34 35 36 37 38 39 40 42 44 46 47 49 50 53 55 57 59 60 61 62 64 65 66 67 69 70 72 73 74 75 76 77 78 81 82 83 86 88 90 91 93 94 95 96 98 99

output:

779219234

result:

ok single line: '779219234'

Test #49:

score: 0
Accepted
time: 147ms
memory: 16680kb

input:

79 296093546321960072
1 2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 21 22 23 24 26 27 28 29 30 31 34 36 37 38 39 42 43 44 45 47 50 51 52 53 54 56 58 59 60 61 62 63 64 65 68 69 70 71 72 73 74 75 77 78 80 82 84 85 86 87 88 89 90 91 92 93 94 95 96 99 100

output:

157425744

result:

ok single line: '157425744'

Test #50:

score: 0
Accepted
time: 133ms
memory: 17300kb

input:

95 87592139159036065
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 39 40 41 42 43 44 45 46 47 48 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 87 88 89 90 91 92 93 94 95 96 97 98 99 100

output:

243406110

result:

ok single line: '243406110'

Test #51:

score: 0
Accepted
time: 144ms
memory: 17376kb

input:

61 448225767417356909
1 2 3 4 8 9 10 11 12 15 17 18 19 22 23 30 34 37 38 39 40 41 42 43 46 47 48 49 50 52 53 55 56 57 59 60 61 62 64 66 70 72 73 75 77 80 81 83 84 85 86 87 88 89 91 93 94 96 98 99 100

output:

82760371

result:

ok single line: '82760371'

Test #52:

score: 0
Accepted
time: 142ms
memory: 15828kb

input:

81 821329051858966512
1 2 4 5 6 7 8 9 10 11 12 13 14 15 17 18 19 20 23 24 25 26 27 29 30 31 32 34 35 36 37 38 40 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 61 63 65 66 67 68 70 71 72 74 75 77 78 79 81 82 83 84 85 86 88 91 92 93 94 95 96 97 98 100

output:

520970277

result:

ok single line: '520970277'

Test #53:

score: 0
Accepted
time: 146ms
memory: 17684kb

input:

98 940855378958962099
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98...

output:

657351592

result:

ok single line: '657351592'

Test #54:

score: 0
Accepted
time: 141ms
memory: 16672kb

input:

92 783003897919847855
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 68 69 70 72 73 74 76 77 78 79 80 81 82 83 84 86 89 90 91 92 93 94 95 96 97 98 99 100

output:

333686854

result:

ok single line: '333686854'

Test #55:

score: 0
Accepted
time: 139ms
memory: 16288kb

input:

75 628045424887158604
1 2 4 5 6 7 8 9 10 11 13 15 16 17 18 20 21 22 23 25 26 27 30 31 32 34 35 36 37 38 39 41 42 43 44 45 47 51 52 53 54 55 57 58 59 60 61 62 63 67 70 71 72 73 74 75 76 77 78 79 80 82 84 85 86 87 88 89 91 93 94 97 98 99 100

output:

51753714

result:

ok single line: '51753714'

Test #56:

score: 0
Accepted
time: 142ms
memory: 17772kb

input:

80 47181067905253739
3 5 6 7 9 10 11 13 14 16 17 19 20 21 22 23 24 25 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 47 48 49 50 51 52 53 55 56 57 58 59 60 61 62 63 64 65 66 67 70 71 75 76 77 79 80 81 82 84 85 86 87 88 89 90 91 92 93 94 95 96 97 99 100

output:

803399973

result:

ok single line: '803399973'

Test #57:

score: 0
Accepted
time: 139ms
memory: 16676kb

input:

52 745904798597793780
2 4 9 12 15 16 17 18 19 22 24 25 26 30 31 32 33 35 37 38 40 41 42 44 45 46 47 49 50 53 54 57 59 60 61 62 63 66 73 74 77 78 88 89 91 92 94 95 96 97 98 99

output:

291045325

result:

ok single line: '291045325'

Test #58:

score: 0
Accepted
time: 145ms
memory: 17252kb

input:

92 170922819812899119
1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 51 52 53 55 56 57 58 59 60 61 62 63 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 100

output:

714112942

result:

ok single line: '714112942'

Test #59:

score: 0
Accepted
time: 146ms
memory: 17712kb

input:

63 837042831344897879
4 5 7 10 12 14 16 18 19 20 21 23 25 27 30 34 35 36 37 39 40 41 44 45 46 48 50 51 52 53 54 55 58 59 60 61 62 63 64 68 70 71 72 73 74 75 77 78 82 83 84 85 86 87 89 91 92 94 95 96 98 99 100

output:

427966692

result:

ok single line: '427966692'

Test #60:

score: 0
Accepted
time: 145ms
memory: 16416kb

input:

98 211617574728952536
1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 9...

output:

480172010

result:

ok single line: '480172010'

Test #61:

score: 0
Accepted
time: 146ms
memory: 18376kb

input:

79 499617513886145546
1 2 3 4 6 7 8 10 12 13 16 17 20 21 22 23 24 26 27 28 29 30 32 34 35 36 37 38 39 40 41 43 44 45 46 47 48 49 50 51 52 53 54 56 57 58 59 61 62 63 64 65 66 67 71 73 74 75 76 77 78 79 80 81 82 84 85 86 88 89 91 92 93 95 96 97 98 99 100

output:

180876880

result:

ok single line: '180876880'

Test #62:

score: 0
Accepted
time: 139ms
memory: 17132kb

input:

62 182887490813788461
1 3 4 5 6 7 10 11 12 13 14 15 16 17 19 21 25 27 29 31 33 34 35 38 39 40 41 42 43 44 46 48 49 50 51 52 54 55 60 61 62 63 65 68 73 74 75 76 79 83 84 85 86 87 88 89 91 93 94 95 97 99

output:

339429188

result:

ok single line: '339429188'

Test #63:

score: 0
Accepted
time: 141ms
memory: 16940kb

input:

73 230406981197665528
1 2 4 6 7 8 9 10 11 12 14 15 16 17 18 19 21 23 24 25 26 27 29 33 35 36 37 38 39 41 43 44 45 46 48 50 51 53 54 55 56 57 58 59 61 63 64 65 66 67 68 70 72 73 76 77 78 79 80 81 82 83 86 87 88 89 90 91 94 95 98 99 100

output:

111028367

result:

ok single line: '111028367'

Test #64:

score: 0
Accepted
time: 142ms
memory: 15780kb

input:

57 32246462204787796
1 3 4 5 6 7 9 13 14 16 17 20 21 22 24 25 26 27 28 31 32 33 34 35 39 40 41 42 43 44 47 49 50 51 53 57 58 62 64 65 67 68 71 72 73 76 83 84 85 90 91 93 95 97 98 99 100

output:

385350356

result:

ok single line: '385350356'

Test #65:

score: 0
Accepted
time: 143ms
memory: 16272kb

input:

54 489006686391198678
1 3 6 8 9 10 11 13 14 16 18 20 23 24 25 28 29 30 31 33 36 37 39 42 45 47 48 50 53 54 57 58 62 63 69 74 75 76 77 78 79 80 83 84 87 88 89 92 94 95 97 98 99 100

output:

689042610

result:

ok single line: '689042610'

Test #66:

score: 0
Accepted
time: 136ms
memory: 16092kb

input:

75 524697439572857835
1 2 3 5 7 8 9 10 11 12 13 14 15 16 18 20 21 22 23 24 25 26 27 28 29 30 31 32 34 37 38 39 40 43 44 45 46 47 48 49 51 52 55 56 58 59 61 62 65 67 68 71 72 73 74 75 76 77 78 79 80 81 83 85 86 87 88 89 90 91 94 95 97 98 99

output:

611227836

result:

ok single line: '611227836'

Test #67:

score: 0
Accepted
time: 140ms
memory: 18476kb

input:

60 117329648646434071
1 2 3 4 6 7 10 11 12 13 14 16 17 19 21 23 24 27 28 31 32 33 34 35 36 37 38 41 45 46 47 48 49 54 56 60 61 63 64 65 67 68 70 74 75 77 79 81 82 83 84 85 86 87 90 92 94 95 96 100

output:

137929680

result:

ok single line: '137929680'

Test #68:

score: 0
Accepted
time: 134ms
memory: 16368kb

input:

89 725546397351130113
1 2 3 4 6 7 8 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 40 41 43 44 45 46 47 48 50 51 52 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 72 73 74 75 77 78 79 80 81 82 83 84 85 86 87 88 90 91 92 93 94 95 96 97 98

output:

10215614

result:

ok single line: '10215614'

Test #69:

score: 0
Accepted
time: 140ms
memory: 17704kb

input:

67 209471414361415380
1 3 4 6 7 8 9 10 11 12 13 14 15 18 20 21 23 24 25 27 28 32 33 34 35 36 38 39 41 42 43 44 45 46 50 52 55 56 57 58 59 61 62 63 64 66 67 68 70 71 72 73 76 77 79 82 83 84 85 86 89 91 92 97 98 99 100

output:

520669568

result:

ok single line: '520669568'

Test #70:

score: 0
Accepted
time: 138ms
memory: 16328kb

input:

56 66148582301705781
2 5 6 7 8 9 10 11 13 15 16 20 21 22 23 24 25 27 28 31 32 35 38 40 42 44 46 49 53 58 61 62 63 64 66 71 72 75 77 78 80 81 83 84 85 86 88 89 90 91 92 94 95 96 97 98

output:

409910741

result:

ok single line: '409910741'

Test #71:

score: 0
Accepted
time: 135ms
memory: 17316kb

input:

96 99855876179495962
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 59 60 61 62 63 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100

output:

215694703

result:

ok single line: '215694703'

Test #72:

score: 0
Accepted
time: 142ms
memory: 15728kb

input:

76 484779545037828905
2 3 4 5 8 11 12 13 16 17 18 19 20 21 22 23 24 26 27 28 29 33 35 36 37 38 39 40 41 42 43 45 46 48 49 50 51 52 53 54 55 57 58 61 63 64 65 66 70 72 73 74 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100

output:

929773092

result:

ok single line: '929773092'

Test #73:

score: 0
Accepted
time: 138ms
memory: 18032kb

input:

56 603046377125519399
1 2 3 4 5 7 9 10 14 15 16 18 21 23 24 25 27 29 30 31 33 35 37 40 42 44 45 46 48 51 53 54 55 58 62 64 65 66 68 69 70 73 76 77 80 81 82 85 86 87 88 90 91 92 94 96

output:

956659902

result:

ok single line: '956659902'

Test #74:

score: 0
Accepted
time: 149ms
memory: 15760kb

input:

76 932931543457799643
1 2 3 4 5 6 7 8 9 10 13 14 15 16 18 19 20 21 22 23 25 26 27 30 31 32 33 34 35 36 39 42 43 44 45 46 47 48 49 50 54 55 56 57 58 60 61 62 63 64 66 67 68 70 71 72 73 75 76 77 80 82 83 84 86 88 90 91 92 93 94 95 96 98 99 100

output:

618132288

result:

ok single line: '618132288'

Test #75:

score: 0
Accepted
time: 139ms
memory: 16476kb

input:

73 197157426964354895
1 3 5 6 7 8 9 10 11 12 13 14 15 16 17 22 24 25 26 27 29 30 31 32 34 35 36 37 38 39 40 41 42 44 45 46 47 48 49 50 52 53 55 56 58 61 62 66 67 69 70 71 73 74 75 76 78 81 82 83 84 85 86 87 88 90 92 93 94 95 97 98 100

output:

685602275

result:

ok single line: '685602275'

Test #76:

score: 0
Accepted
time: 141ms
memory: 16112kb

input:

67 211312138784535666
1 2 3 4 6 7 8 9 10 11 13 14 16 17 19 21 22 23 24 25 27 29 31 33 34 38 40 42 43 44 45 47 48 49 50 51 52 54 56 57 58 59 60 62 63 64 65 69 71 74 76 78 79 80 83 85 86 87 88 89 90 91 92 93 94 95 96

output:

798683412

result:

ok single line: '798683412'

Test #77:

score: 0
Accepted
time: 144ms
memory: 16048kb

input:

71 657255281577442931
2 3 4 6 10 11 12 14 15 16 17 19 20 21 23 24 25 26 27 29 30 31 32 33 35 36 37 39 40 41 42 43 45 46 47 48 49 52 53 54 56 57 58 59 61 62 63 64 65 66 68 71 73 74 76 77 78 79 80 81 83 85 86 89 91 92 94 95 97 98 99

output:

287998169

result:

ok single line: '287998169'

Test #78:

score: 0
Accepted
time: 149ms
memory: 18504kb

input:

69 630057743645277884
3 4 5 7 8 10 12 13 15 16 17 19 20 21 22 23 25 26 27 29 31 32 33 34 35 37 38 39 41 42 44 45 47 48 50 51 52 53 54 55 56 57 58 59 60 62 63 65 67 68 69 70 72 73 77 78 79 80 81 82 84 85 86 87 90 91 92 94 99

output:

297478108

result:

ok single line: '297478108'

Test #79:

score: 0
Accepted
time: 146ms
memory: 18208kb

input:

72 571933055122935395
1 2 3 4 5 6 7 8 9 13 15 19 21 22 24 25 26 28 29 32 33 34 35 36 37 39 40 41 42 44 45 46 47 48 53 55 56 57 58 60 61 62 63 65 66 67 68 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 88 89 92 93 95 96 97 99 100

output:

186215451

result:

ok single line: '186215451'

Test #80:

score: 0
Accepted
time: 147ms
memory: 16348kb

input:

57 698675264977301641
2 8 9 10 12 13 14 16 17 18 19 20 21 23 26 27 28 29 31 32 33 34 35 37 39 40 43 45 47 49 50 52 54 56 59 61 62 63 64 65 67 68 78 80 81 82 83 85 89 90 92 93 95 96 97 98 100

output:

615687445

result:

ok single line: '615687445'

Test #81:

score: 0
Accepted
time: 139ms
memory: 16348kb

input:

91 550086651862219582
1 2 3 4 5 6 7 8 9 10 12 13 14 15 18 19 20 21 22 24 25 26 27 29 30 31 32 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 74 75 76 77 78 79 80 81 82 83 84 86 87 88 89 90 91 92 93 94 95 96 97 98 99

output:

73747537

result:

ok single line: '73747537'

Test #82:

score: 0
Accepted
time: 137ms
memory: 17776kb

input:

76 559313453688304421
1 3 4 8 9 10 11 13 15 16 17 18 20 21 22 23 25 26 27 28 30 31 32 33 34 35 36 37 38 39 40 42 45 46 47 50 51 52 53 54 55 56 57 58 59 60 61 63 64 65 67 68 69 70 71 72 74 76 77 79 80 81 82 83 84 86 87 89 90 91 93 94 95 97 98 99

output:

6563544

result:

ok single line: '6563544'

Test #83:

score: 0
Accepted
time: 144ms
memory: 17180kb

input:

52 590729355870168811
1 9 11 12 13 14 15 18 20 21 22 23 24 28 30 32 35 37 38 39 40 44 45 47 48 52 53 57 58 59 62 63 64 66 68 70 73 75 76 77 78 79 84 88 89 90 91 92 93 95 99 100

output:

79593221

result:

ok single line: '79593221'

Test #84:

score: 0
Accepted
time: 132ms
memory: 16352kb

input:

71 1078787670479297
1 2 4 6 7 8 10 11 14 15 16 17 19 20 21 22 23 24 25 26 27 28 29 31 32 35 36 39 41 42 43 44 46 47 50 51 53 56 58 60 61 62 64 65 66 67 69 70 71 72 73 74 76 77 78 79 80 81 82 85 88 89 90 91 94 95 96 97 98 99 100

output:

493465277

result:

ok single line: '493465277'

Test #85:

score: 0
Accepted
time: 136ms
memory: 16396kb

input:

60 330172086272696495
2 3 4 6 7 9 10 12 13 19 20 22 23 26 27 28 29 31 35 36 38 41 42 43 44 45 48 51 52 53 55 57 58 59 61 64 66 68 69 70 73 74 78 79 81 83 84 85 86 88 89 91 92 93 94 96 97 98 99 100

output:

705494197

result:

ok single line: '705494197'

Test #86:

score: 0
Accepted
time: 131ms
memory: 17276kb

input:

53 224894710983180305
2 6 8 10 12 14 15 16 17 18 20 21 24 26 34 35 37 39 40 41 43 44 45 46 48 49 52 53 54 56 57 59 62 63 64 67 68 69 73 74 75 77 80 83 85 86 87 90 92 93 94 97 98

output:

892085369

result:

ok single line: '892085369'

Test #87:

score: 0
Accepted
time: 141ms
memory: 16420kb

input:

73 839359062850662962
1 3 4 6 9 11 12 13 14 15 16 18 22 24 26 27 28 29 31 32 33 34 35 37 39 41 42 44 46 47 48 49 50 51 52 53 54 56 57 58 60 62 63 64 65 66 67 68 71 72 73 74 76 77 79 80 81 82 83 84 86 87 88 89 90 91 92 93 94 97 98 99 100

output:

755719540

result:

ok single line: '755719540'

Test #88:

score: 0
Accepted
time: 147ms
memory: 16016kb

input:

90 500645019601164317
3 4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 65 66 67 68 69 70 71 72 73 74 75 77 78 79 80 81 83 84 85 86 89 90 91 93 94 95 96 97 98 99 100

output:

59577500

result:

ok single line: '59577500'

Test #89:

score: 0
Accepted
time: 138ms
memory: 15824kb

input:

67 476908076244031504
3 5 6 7 8 9 10 11 12 13 14 15 18 22 23 24 25 27 28 30 32 33 34 35 36 39 41 45 47 48 49 50 51 52 54 55 57 59 61 62 64 67 69 71 73 74 75 76 77 78 80 81 82 83 84 85 87 88 90 91 92 93 96 97 98 99 100

output:

716555760

result:

ok single line: '716555760'

Test #90:

score: 0
Accepted
time: 142ms
memory: 16160kb

input:

93 562016544768765114
1 2 4 5 6 7 8 9 10 11 12 13 14 15 17 18 19 20 21 22 23 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 86 87 88 89 90 91 92 93 94 95 96 98 99 100

output:

791523168

result:

ok single line: '791523168'

Test #91:

score: 0
Accepted
time: 140ms
memory: 16628kb

input:

69 816566902881997196
1 2 4 5 6 8 10 11 12 13 14 15 17 18 19 20 22 24 25 26 28 30 31 32 33 34 36 37 39 40 43 44 45 47 48 51 52 53 54 55 57 58 59 60 61 62 63 64 65 68 69 71 72 73 74 75 77 78 79 80 85 86 87 88 92 93 96 99 100

output:

316161442

result:

ok single line: '316161442'

Test #92:

score: 0
Accepted
time: 147ms
memory: 16460kb

input:

69 781242162219074378
1 2 3 4 5 6 7 8 9 10 11 12 15 16 17 18 19 20 21 23 26 27 28 29 31 32 33 35 36 39 40 43 44 46 47 50 51 53 55 56 58 62 65 68 71 73 74 75 76 78 79 80 81 82 83 84 85 87 88 89 90 91 92 93 95 96 98 99 100

output:

213160734

result:

ok single line: '213160734'

Test #93:

score: 0
Accepted
time: 145ms
memory: 17200kb

input:

97 190033324320095889
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98...

output:

347748784

result:

ok single line: '347748784'

Test #94:

score: 0
Accepted
time: 140ms
memory: 16776kb

input:

53 186790849555518449
2 3 4 5 6 8 10 15 16 17 24 25 26 27 28 29 32 34 35 36 38 46 51 52 53 54 55 56 62 65 68 69 70 72 73 74 75 77 78 79 80 81 82 83 84 85 86 89 90 92 96 99 100

output:

293224110

result:

ok single line: '293224110'

Test #95:

score: 0
Accepted
time: 144ms
memory: 16544kb

input:

79 867498345146079734
3 4 5 6 7 8 9 10 11 12 13 14 17 20 22 23 25 26 28 29 30 31 32 34 35 36 37 38 39 40 41 43 44 45 46 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 66 68 69 70 71 73 74 75 77 78 79 80 82 84 85 86 87 88 89 90 91 92 93 96 97 98 99 100

output:

539179052

result:

ok single line: '539179052'

Test #96:

score: 0
Accepted
time: 142ms
memory: 16744kb

input:

87 758810492807317139
1 2 4 5 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 41 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 68 69 70 72 73 74 75 76 77 78 79 81 82 83 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100

output:

368547898

result:

ok single line: '368547898'

Test #97:

score: 0
Accepted
time: 138ms
memory: 16112kb

input:

60 925071443506854281
2 4 5 6 10 13 15 16 17 18 21 23 24 25 27 28 29 31 32 34 37 38 41 43 44 45 46 47 49 52 53 55 56 57 61 62 64 65 66 69 71 72 74 75 76 77 78 79 80 81 83 84 86 88 90 93 97 98 99 100

output:

396839084

result:

ok single line: '396839084'

Test #98:

score: 0
Accepted
time: 148ms
memory: 17144kb

input:

80 972236086136380122
1 2 3 5 6 7 9 10 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 31 32 33 34 35 37 38 39 40 42 43 44 46 47 48 49 50 51 53 54 56 57 58 60 61 62 63 64 65 67 68 69 70 71 73 74 75 76 78 80 81 82 84 85 86 88 90 91 92 93 94 96 97 98 99 100

output:

562797031

result:

ok single line: '562797031'

Test #99:

score: 0
Accepted
time: 138ms
memory: 17784kb

input:

94 762359792881873455
1 2 3 4 6 7 8 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100

output:

179241679

result:

ok single line: '179241679'

Test #100:

score: 0
Accepted
time: 140ms
memory: 18308kb

input:

86 661984838804958330
1 2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 37 38 39 41 42 43 44 45 46 47 48 49 50 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 70 72 73 74 75 77 79 80 82 83 84 85 86 88 89 91 92 93 95 96 98 99 100

output:

196932163

result:

ok single line: '196932163'