Result

AC

Duration

784ms

Code [DL]

00000000  5c 64 65 66 0c 23 31 23  32 23 33 23 34 23 35 23  |\def.#1#2#3#4#5#|
00000010  36 7b 5c 69 66 23 32 23  33 23 33 5c 65 6c 73 65  |6{\if#2#3#3\else|
00000020  23 34 5c 66 69 7d 5c 6c  6f 6f 70 5c 69 66 6e 75  |#4\fi}\loop\ifnu|
00000030  6d 5c 66 61 6d 3c 33 32  5c 72 65 61 64 30 74 6f  |m\fam<32\read0to|
00000040  7e 5c 69 6d 6d 65 64 69  61 74 65 5c 77 72 69 74  |~\immediate\writ|
00000050  65 30 7b 5c 65 78 70 61  6e 64 61 66 74 65 72 0c  |e0{\expandafter.|
00000060  7e 7d 5c 61 64 76 61 6e  63 65 5c 66 61 6d 31 5c  |~}\advance\fam1\|
00000070  72 65 70 65 61 74 5c 65  6e 64                    |repeat\end|
0000007a

stdin

959 119
168 958
266 676
778 189
288 114
577 778
711 828
755 251
173 373
412 181
636 613
657 571
578 883
246 665
235 592
561 563
617 112
288 882
872 773
355 443
499 481
737 118
688 848
378 657
127 975
622 324
835 532
682 224
357 165
297 975
654 571
994 396

stdout

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

stderr

rm: cannot remove 'code.dvi': No such file or directory

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffc9f467d80 /* 6 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x55e85cd8fbe0 /* 6 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 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} ---
13    execve("/bin/cat", ["cat", "-", "/volume/CODE"], 0x55e85d48a5d0 /* 6 vars */) = 0
13    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
14    execve("/usr/local/texlive/2020/bin/x86_64-linux/tex", ["/usr/local/texlive/2020/bin/x86_"..., "code.tex"], 0x55e85d48a868 /* 7 vars */) = 0
16    execve("/bin/sed", ["sed", "-e", "$d"], 0x55e85d48a898 /* 7 vars */) = 0
15    execve("/bin/sed", ["sed", "-e", "1,2d"], 0x55e85d48a898 /* 7 vars */ <unfinished ...>
17    execve("/bin/sed", ["sed", "-e", "$d"], 0x55e85d48a898 /* 7 vars */ <unfinished ...>
18    execve("/bin/sed", ["sed", "-e", "$d"], 0x55e85d48a898 /* 7 vars */ <unfinished ...>
17    <... execve resumed> )            = 0
15    <... execve resumed> )            = 0
18    <... execve resumed> )            = 0
14    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
18    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=18, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
15    +++ exited with 0 +++
17    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
16    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
19    execve("/bin/rm", ["rm", "code.log"], 0x55e85cd8fb78 /* 7 vars */) = 0
19    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
20    execve("/bin/rm", ["rm", "code.dvi"], 0x55e85cd8fb78 /* 7 vars */) = 0
20    +++ exited with 1 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=20, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
21    execve("/bin/rm", ["rm", "code.tex"], 0x55e85cd8fb78 /* 7 vars */) = 0
21    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=21, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
22    execve("/bin/rm", ["rm", "stdin.tex"], 0x55e85cd8fb78 /* 7 vars */) = 0
22    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=22, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
10    +++ exited with 0 +++