cf/mirror

Tricky Alchemy

CF
912A800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
4 3
2 1 1
Output
2
Sample 2of 3
Input
3 9
1 1 3
Output
1
Sample 3of 3
Input
12345678 87654321
43043751 1000000000 53798715
Output
2147483648
912A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)