by@satos___jp
WA
$ 'j' #(c){j}(x)-@ --(!x!)(!c!)(c)(x)g< $ 'main' #(x)(c)-@ \@ | \{j}i- 9 \ >-ooo# \-1a--e/
6615568170378106511017824616946175188249821607454579984898714046507763069822130796497492407828874576
Crash: No valid move