Result

AC

Duration

742ms

Code [DL]

::a::print(io.read():match"(.) ?%1"or 1)goto a

stdin

884 143
366 778
399 598
784 886
635 357
821 118
216 629
324 248
274 552
389 596
455 559
974 489
376 278
688 691
817 713
143 663
365 292
611 187
179 773
252 516
874 594
494 493
686 833
822 229
727 775
359 112
544 548
711 194
175 477
411 886
597 963
966 726

stdout

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

stderr

/usr/bin/lua5.3: /volume/CODE:1: attempt to index a nil value
stack traceback:
	/volume/CODE:1: in main chunk
	[C]: in ?

strace

11    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffd3c702570 /* 7 vars */) = 0
12    execve("/bin/cat", ["cat", "-"], 0x55700e7b2d30 /* 7 vars */) = 0
13    execve("/usr/bin/lua5.3", ["/usr/bin/lua5.3", "/volume/CODE"], 0x55700e7b2d40 /* 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    +++ exited with 1 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
11    +++ exited with 1 +++