Result

AC

Duration

827ms

Code [DL]

with f(x)as(select""union select x+8 from f limit 32)select(select substr(v,x+4-(substr(v,x+2,1)=substr(v,x+3,1)),2)from i)from f

stdin

254 365
794 496
867 641
717 447
631 338
593 749
672 787
349 293
876 667
326 629
693 338
541 443
195 454
183 451
919 667
765 265
262 213
467 679
255 927
233 938
833 349
733 127
711 188
614 433
822 924
755 557
366 228
522 227
829 453
665 962
735 359
411 443

stdout

 3
 4
 6
 4
 3
 7
 7
 2
 6
 6
 3
 4
 4
 4
 6
 2
 2
 6
5 
3 
3 
3 
1 
 4
2 
5 
6 
2 
 4
 9
 3
1 

stderr

strace

14    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffdc6d57530 /* 7 vars */) = 0
15    execve("/bin/cat", ["cat", "/volume/CODE"], 0x556bdfa32d00 /* 7 vars */) = 0
15    +++ exited with 0 +++
14    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
16    execve("/bin/cat", ["cat", "-"], 0x556bdfa32cf8 /* 7 vars */) = 0
16    +++ exited with 0 +++
14    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
17    execve("/usr/bin/sqlite3", ["/usr/bin/sqlite3", ":memory:", "CREATE TABLE i (v); CREATE TABLE"...], 0x556be12d4368 /* 7 vars */) = 0
17    +++ exited with 0 +++
14    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=17, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
14    +++ exited with 0 +++