cf/mirror

Vittorio Plays with LEGO Bricks

CF
1776B2200· master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 4
Input
4 0
2 7 11 13
Output
0
Sample 2of 4
Input
4 1
2 7 11 13
Output
3
Sample 3of 4
Input
4 100
2 7 11 13
Output
107
Sample 4of 4
Input
4 3
2 5 8 11
Output
8
1776B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)