Result

WA

Duration

816ms

Code [DL]

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

stdin

533 557
496 269
754 954
522 229
545 449
613 284
951 226
116 615
462 223
565 668
688 993
266 661
688 186
261 113
912 383
744 334
395 523
326 625
377 754
132 262
267 467
699 979
255 949
625 858
766 291
588 163
751 518
139 375
175 112
681 813
728 245
244 948

stdout

3
1
1
2
4
1
2
1
2
6
8
6
8
1
1
4
5
6
7
2
1
9
5
1
6
8
1
1
1
1
1
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"], 0x7ffeaf7c2200 /* 7 vars */) = 0
12    execve("/usr/bin/lua5.3", ["/usr/bin/lua5.3", "/volume/CODE"], 0x5603cef06d40 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x5603cef06d30 /* 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 +++