Result

AC

Duration

4467ms

Code [DL]

<stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform"><output method="text"/><template match="/"><value-of select="replace(input,'.+(.)(\1| ).+','$1')"/></template></stylesheet>

stdin

261 138
494 842
941 418
855 227
783 116
457 771
271 423
177 779
358 173
722 722
657 678
754 458
927 622
381 661
933 446
283 831
433 624
918 144
337 343
212 116
437 733
933 331
133 356
299 893
911 899
988 658
866 673
756 662
234 292
962 767
374 774
643 378

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffc99b3af10 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x557aab125d00 /* 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    execve("/usr/bin/java", ["java", "-jar", "saxon9he.jar", "-xsl:preprocess.xsl", "-s:preprocess.xsl", "-o:/tmp/input.xml"], 0x557aab4fd090 /* 7 vars */) = 0
12    execve("/usr/bin/java", ["java", "-jar", "saxon9he.jar", "-xsl:preprocess.xsl", "-s:preprocess.xsl", "-o:/tmp/input.xml"], 0x7f01158e4f80 /* 8 vars */) = 0
12    --- SIGRT_2 {si_signo=SIGRT_2, si_code=SI_TKILL, si_pid=12, si_uid=0} ---
12    --- SIGRT_2 {si_signo=SIGRT_2, si_code=SI_TKILL, si_pid=12, si_uid=0} ---
13    --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
13    --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x14} ---
13    --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x14} ---
23    +++ exited with 0 +++
17    +++ exited with 0 +++
14    +++ exited with 0 +++
13    +++ exited with 0 +++
24    +++ exited with 0 +++
22    +++ exited with 0 +++
21    +++ exited with 0 +++
20    +++ exited with 0 +++
19    +++ exited with 0 +++
18    +++ exited with 0 +++
16    +++ exited with 0 +++
15    +++ exited with 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=161, si_stime=38} ---
25    execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x557aab125d18 /* 7 vars */) = 0
25    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=25, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
26    execve("/bin/ln", ["ln", "-sf", "/volume/CODE", "/tmp/code.xsl"], 0x557aab125d38 /* 7 vars */) = 0
26    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=26, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
27    execve("/usr/bin/java", ["java", "-jar", "saxon9he.jar", "-xsl:/tmp/code.xsl", "-s:/tmp/input.xml", "-o:/tmp/output"], 0x557aab4fd078 /* 7 vars */) = 0
27    execve("/usr/bin/java", ["java", "-jar", "saxon9he.jar", "-xsl:/tmp/code.xsl", "-s:/tmp/input.xml", "-o:/tmp/output"], 0x7f5fdc983f60 /* 8 vars */) = 0
27    --- SIGRT_2 {si_signo=SIGRT_2, si_code=SI_TKILL, si_pid=27, si_uid=0} ---
27    --- SIGRT_2 {si_signo=SIGRT_2, si_code=SI_TKILL, si_pid=27, si_uid=0} ---
28    --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
38    +++ exited with 0 +++
32    +++ exited with 0 +++
29    +++ exited with 0 +++
28    +++ exited with 0 +++
39    +++ exited with 0 +++
35    +++ exited with 0 +++
37    +++ exited with 0 +++
30    +++ exited with 0 +++
36    +++ exited with 0 +++
34    +++ exited with 0 +++
33    +++ exited with 0 +++
31    +++ exited with 0 +++
27    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=27, si_uid=0, si_status=0, si_utime=156, si_stime=28} ---
40    execve("/bin/cat", ["cat", "/tmp/output"], 0x557aab125c98 /* 7 vars */) = 0
40    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=40, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
41    execve("/bin/rm", ["rm", "/tmp/input", "/tmp/input.xml", "/tmp/code.xsl", "/tmp/output"], 0x557aab4fd068 /* 7 vars */) = 0
41    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=41, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
10    +++ exited with 0 +++