Result

WA

Duration

752ms

Code [DL]

FS=A;$0=$2-$3?$5?$5:1:$3

stdin

172 776
639 768
284 919
572 778
966 466
887 742
277 778
391 151
365 562
164 696
677 755
862 378
621 218
883 732
493 958
966 997
988 798
911 149
997 974
977 773
217 449
631 113
178 471
599 491
787 556
763 134
654 355
842 491
966 221
386 669
821 121
199 536

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffe7479e190 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x560c728f4d58 /* 7 vars */ <unfinished ...>
12    execve("/usr/bin/gawk", ["/usr/bin/gawk", "-f", "/volume/CODE"], 0x560c73be6028 /* 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 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 +++