Result

WA

Duration

775ms

Code [DL]

FS=A;$0=$2~$3?$2%10:$3

stdin

477 728
233 554
766 559
467 778
681 442
522 228
143 334
796 961
675 457
438 355
577 576
486 157
465 573
198 991
926 143
239 398
982 865
171 579
955 637
492 838
587 785
325 424
512 184
988 884
762 218
345 337
574 475
588 895
974 248
649 441
944 681
988 288

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffc080be0e0 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x55f433142d58 /* 7 vars */) = 0
12    execve("/usr/bin/gawk", ["/usr/bin/gawk", "-f", "/volume/CODE"], 0x55f434a09028 /* 7 vars */ <unfinished ...>
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    <... execve resumed>)             = 0
12    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
10    +++ exited with 0 +++