Result

AC

Duration

1057ms

Code [DL]

character(3)s,t
2 read*,s,t
print*,merge(s(2:2),t(1:1),s(3:3)==s(2:2))
goto 2
end

stdin

256 665
766 664
711 812
629 984
987 882
138 761
511 178
978 854
126 259
132 129
834 663
854 547
438 612
178 985
896 546
938 136
119 229
519 996
221 321
433 779
966 565
299 987
558 518
584 727
813 132
233 785
355 775
699 996
861 169
344 572
623 322
293 997

stdout

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

stderr

At line 2 of file /tmp/code.f08 (unit = 5, file = 'stdin')
Fortran runtime error: End of file

Error termination. Backtrace:
#0  0x7fd5f46507f1 in ???
#1  0x7fd5f465110c in ???
#2  0x7fd5f4651a6c in ???
#3  0x7fd5f478e6c4 in ???
#4  0x7fd5f4789af5 in ???
#5  0x7fd5f478a2d3 in ???
#6  0x7fd5f478dd57 in ???
#7  0x559d9af6a278 in ???
#8  0x559d9af6a358 in ???
#9  0x7fd5f47f81f4 in ???

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fff6c7d73d0 /* 7 vars */) = 0
11    execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x55856f8a5d18 /* 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("/bin/ln", ["ln", "-sf", "/volume/CODE", "/tmp/code.f08"], 0x55856f8a5d38 /* 7 vars */) = 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("/usr/bin/gfortran", ["gfortran", "-std=f2018", "/tmp/code.f08", "-o", "/tmp/code"], 0x55856fb27028 /* 7 vars */) = 0
14    execve("/usr/libexec/gcc/x86_64-alpine-linux-musl/9.3.0/f951", ["/usr/libexec/gcc/x86_64-alpine-l"..., "/tmp/code.f08", "-quiet", "-dumpbase", "code.f08", "-mtune=generic", "-march=x86-64", "-auxbase", "code", "-std=f2018", "-fintrinsic-modules-path", "/usr/lib/gcc/x86_64-alpine-linux"..., "-o", "/tmp/ccGGCoFl.s"], 0x168e8e0 /* 10 vars */) = 0
14    +++ exited with 0 +++
13    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=0, si_utime=1, si_stime=0} ---
15    execve("/usr/lib/gcc/x86_64-alpine-linux-musl/9.3.0/../../../../x86_64-alpine-linux-musl/bin/as", ["/usr/lib/gcc/x86_64-alpine-linux"..., "--64", "-o", "/tmp/ccMKdaKD.o", "/tmp/ccGGCoFl.s"], 0x168e8e0 /* 10 vars */) = 0
15    +++ exited with 0 +++
13    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
16    execve("/usr/libexec/gcc/x86_64-alpine-linux-musl/9.3.0/collect2", ["/usr/libexec/gcc/x86_64-alpine-l"..., "-plugin", "/usr/libexec/gcc/x86_64-alpine-l"..., "-plugin-opt=/usr/libexec/gcc/x86"..., "-plugin-opt=-fresolution=/tmp/cc"..., "-plugin-opt=-pass-through=-lgcc_"..., "-plugin-opt=-pass-through=-lgcc", "-plugin-opt=-pass-through=-lquad"..., "-plugin-opt=-pass-through=-lm", "-plugin-opt=-pass-through=-lgcc_"..., "-plugin-opt=-pass-through=-lgcc", "-plugin-opt=-pass-through=-lc", "-plugin-opt=-pass-through=-lgcc_"..., "-plugin-opt=-pass-through=-lgcc", "--eh-frame-hdr", "--hash-style=gnu", "-m", "elf_x86_64", "--as-needed", "-dynamic-linker", "/lib/ld-musl-x86_64.so.1", "-pie", "-z", "relro", "-z", "now", "-o", "/tmp/code", "/usr/lib/gcc/x86_64-alpine-linux"..., "/usr/lib/gcc/x86_64-alpine-linux"..., "/usr/lib/gcc/x86_64-alpine-linux"..., "-L/usr/lib/gcc/x86_64-alpine-lin"..., ...], 0x168e8e0 /* 12 vars */) = 0
17    execve("/usr/lib/gcc/x86_64-alpine-linux-musl/9.3.0/../../../../x86_64-alpine-linux-musl/bin/ld", ["/usr/lib/gcc/x86_64-alpine-linux"..., "-plugin", "/usr/libexec/gcc/x86_64-alpine-l"..., "-plugin-opt=/usr/libexec/gcc/x86"..., "-plugin-opt=-fresolution=/tmp/cc"..., "-plugin-opt=-pass-through=-lgcc_"..., "-plugin-opt=-pass-through=-lgcc", "-plugin-opt=-pass-through=-lquad"..., "-plugin-opt=-pass-through=-lm", "-plugin-opt=-pass-through=-lgcc_"..., "-plugin-opt=-pass-through=-lgcc", "-plugin-opt=-pass-through=-lc", "-plugin-opt=-pass-through=-lgcc_"..., "-plugin-opt=-pass-through=-lgcc", "--eh-frame-hdr", "--hash-style=gnu", "-m", "elf_x86_64", "--as-needed", "-dynamic-linker", "/lib/ld-musl-x86_64.so.1", "-pie", "-z", "relro", "-z", "now", "-o", "/tmp/code", "/usr/lib/gcc/x86_64-alpine-linux"..., "/usr/lib/gcc/x86_64-alpine-linux"..., "/usr/lib/gcc/x86_64-alpine-linux"..., "-L/usr/lib/gcc/x86_64-alpine-lin"..., ...], 0x7ffc3e7e5b18 /* 12 vars */) = 0
17    +++ exited with 0 +++
16    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=17, si_uid=0, si_status=0, si_utime=1, si_stime=3} ---
16    +++ exited with 0 +++
13    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16, si_uid=0, si_status=0, si_utime=0, si_stime=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} ---
18    execve("/bin/cat", ["cat", "-"], 0x55856f8a5d08 /* 7 vars */) = 0
19    execve("/tmp/code", ["/tmp/code"], 0x55856f8a5cf0 /* 7 vars */) = 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} ---
19    +++ exited with 2 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19, si_uid=0, si_status=2, si_utime=0, si_stime=0} ---
20    execve("/bin/rm", ["rm", "/tmp/code.f08", "/tmp/code"], 0x55856f8a5cf0 /* 7 vars */) = 0
20    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=20, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
10    +++ exited with 0 +++