Result

WA

Duration

785ms

Code [DL]

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

stdin

281 218
533 485
844 867
625 824
887 784
415 558
361 669
286 484
845 176
853 932
723 212
433 551
692 299
748 334
637 984
681 816
688 885
844 543
899 331
799 994
752 119
118 189
376 742
144 466
955 298
377 731
811 415
541 448
268 512
234 442
315 521
521 155

stdout

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

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"], 0x7ffdc46d3fc0 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x55b7805a3d30 /* 7 vars */ <unfinished ...>
12    execve("/usr/bin/lua5.3", ["/usr/bin/lua5.3", "/volume/CODE"], 0x55b7805a3d40 /* 7 vars */ <unfinished ...>
11    <... execve resumed>)             = 0
12    <... execve resumed>)             = 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 +++