Funny Game
1994D1900· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
821 4499 7 1 13510 2 31 44 73587 6 81 44 32562 35 33 79 1656 51 31 69 42552 63 25 21 51233 40 3 11 31 43 37 8 50 5 12 22
Output
YES2 1YES4 12 13 2YES5 14 13 12 1YES4 13 12 15 4YES3 15 12 14 2YES4 15 12 13 2YES2 15 23 14 3YES9 112 911 110 16 17 62 18 25 23 14 1
58%
1994D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…