by@akouryy1
AC
532ms
v 4 >>1-:::3>1-:@:3$gia*v v^?: ~^?:~ip@-$+i < >11g22g*12g21g*-00g*12g20g*10g22g*-01g*10g21g*11g20g*-02g*++6,n;
73 07 02 21 39 60 12 46 86 97 57 30
8266