QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#125503#5656. Vittorio Plays with LEGO BricksHuangHanShengRE 1ms3896kbC++11624b2023-07-16 19:36:102023-07-16 19:36:14

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4 0
2 7 11 13

output:

0

result:

ok single line: '0'

Test #2:

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

input:

4 1
2 7 11 13

output:

3

result:

ok single line: '3'

Test #3:

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

input:

4 100
2 7 11 13

output:

107

result:

ok single line: '107'

Test #4:

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

input:

4 3
2 5 8 11

output:

8

result:

ok single line: '8'

Test #5:

score: -100
Runtime Error

input:

294 6
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 44 46 48 50 52 54 56 58 60 62 64 66 68 70 73 75 77 79 81 83 85 87 89 91 93 95 97 99 101 103 105 107 109 111 113 115 117 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 157 159 161 163 165 167 169 171 173 175 177 ...

output:


result: