Result

AC

Duration

802ms

Code [DL]

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

stdin

745 161
526 965
794 942
394 885
617 773
866 664
511 885
188 877
199 929
977 339
799 994
739 436
628 667
429 249
216 218
687 734
455 255
216 615
184 853
545 449
539 795
322 713
922 299
949 447
718 684
613 645
117 795
255 758
964 466
422 687
764 446
542 424

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffc0d744d30 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "/volume/CODE"], 0x56147c59bd00 /* 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", "-"], 0x56147c59bcf8 /* 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"...], 0x56147d94f3b0 /* 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 +++