Result

AC

Duration

995ms

Code [DL]

with recursive 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

232 238
446 681
588 839
828 472
781 576
752 218
674 117
943 932
156 451
271 758
416 267
766 772
458 551
798 117
591 943
798 881
433 937
945 458
977 727
221 963
739 337
981 816
244 442
322 885
233 839
644 353
922 226
136 838
257 753
966 421
949 992
483 585

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffdcbefe4b0 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "/volume/CODE"], 0x55ce369c7d00 /* 7 vars */) = 0
11    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
12    execve("/bin/cat", ["cat", "-"], 0x55ce369c7cf8 /* 7 vars */) = 0
12    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
13    execve("/usr/bin/sqlite3", ["/usr/bin/sqlite3", ":memory:", "CREATE TABLE i (v); CREATE TABLE"...], 0x55ce383b13b0 /* 7 vars */) = 0
13    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
10    +++ exited with 0 +++