Cycle Palindrome
1656G3200· legendary gm1s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
341 2 2 131 2 171 3 3 3 1 2 2
Output
YES3 1 4 2NOYES5 3 7 2 6 4 1
58%
1656G.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…
341 2 2 131 2 171 3 3 3 1 2 2
YES3 1 4 2NOYES5 3 7 2 6 4 1