Choosing Cubes
1980B800· newbie1s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
125 2 24 3 3 2 35 5 34 2 1 3 55 5 25 2 4 1 35 5 51 2 5 4 35 5 43 1 2 4 55 5 54 3 2 1 56 5 31 2 3 1 2 310 1 11 1 1 1 1 1 1 1 1 11 1 1425 2 32 2 1 1 22 1 12 15 3 13 3 2 3 2
Output
MAYBEYESNOYESYESYESMAYBEMAYBEYESYESYESNO
58%
1980B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)