Result

WA

Duration

952ms

Code [DL]

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

stdin

581 557
841 442
977 787
529 724
477 779
717 162
299 994
669 996
676 721
197 974
916 229
363 468
332 336
364 416
682 115
441 974
188 187
994 842
431 913
511 225
629 295
559 364
255 786
853 339
744 457
722 821
984 483
411 398
575 579
759 949
155 113
446 318

stdout

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

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

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