The Riddle of the Sphinx
1466I3400· legendary gm1s256 MB⇄ interactive
Examples
Sample 1of 3
Input
5 3yesnonononoyes
Output
5 1015 1104 1003 1012 0011 0000 110
Sample 2of 3
Input
4 3nononono
Output
1 0002 0003 0004 0000 000
Sample 3of 3
Input
1 1
Output
0 0
58%
1466I.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)