cf/mirror

Card Game Again

CF
818E1900· candidate master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
3 4
6 2 8
Output
4
Sample 2of 2
Input
3 6
9 1 14
Output
1
818E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)