Result

AC

Duration

805ms

Code [DL]

with recursive f(x)as(select""union select x+8 from f limit 32)select(select substr(v,x+case when substr(v,x+2,1)=substr(v,x+3,1)then 2 else 5 end,1)from i)from f

stdin

833 649
133 362
588 124
633 937
851 154
725 755
258 883
498 223
912 923
767 165
337 377
233 331
951 992
655 229
274 184
394 992
484 843
966 689
188 885
436 334
577 578
889 924
644 223
132 136
663 383
453 574
467 342
316 282
791 697
487 785
283 823
175 552

stdout

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

stderr

strace

11    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffd1861f530 /* 7 vars */) = 0
12    execve("/bin/cat", ["cat", "/volume/CODE"], 0x557f02fded00 /* 7 vars */) = 0
12    +++ exited with 0 +++
11    --- 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("/bin/cat", ["cat", "-"], 0x557f02fdecf8 /* 7 vars */) = 0
13    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
14    execve("/usr/bin/sqlite3", ["/usr/bin/sqlite3", ":memory:", "CREATE TABLE i (v); CREATE TABLE"...], 0x557f046c53c8 /* 7 vars */) = 0
14    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
11    +++ exited with 0 +++