Result

AC

Duration

884ms

Code [DL]

characters*8
2 read'(a)',s
print*,merge(s(2:2),s(5:5),s(3:3)==s(2:2))
goto2
end

stdin

595 954
166 563
484 837
432 123
995 668
699 995
159 593
899 117
952 141
311 192
367 657
241 182
978 969
355 554
515 441
398 373
989 144
183 889
266 394
599 594
685 581
267 562
712 114
538 437
419 926
668 882
853 339
933 442
155 582
622 638
715 512
919 496

stdout

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

stderr

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

Error termination. Backtrace:
#0  0x7f48f53cc7f1 in ???
#1  0x7f48f53cd10c in ???
#2  0x7f48f53cda6c in ???
#3  0x7f48f550a6c4 in ???
#4  0x7f48f550a971 in ???
#5  0x7f48f5508377 in ???
#6  0x7f48f550ba14 in ???
#7  0x7f48f550c6c1 in ???
#8  0x7f48f5509d57 in ???
#9  0x5651775b7291 in ???
#10  0x5651775b735a in ???
#11  0x7f48f55741f4 in ???

strace

14    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fff8caa04d0 /* 7 vars */) = 0
15    execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x55bf8bbc6d18 /* 7 vars */) = 0
15    +++ exited with 0 +++
14    --- 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("/bin/ln", ["ln", "-sf", "/volume/CODE", "/tmp/code.f08"], 0x55bf8bbc6d38 /* 7 vars */) = 0
16    +++ exited with 0 +++
14    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
17    execve("/usr/bin/gfortran", ["gfortran", "-std=f2018", "/tmp/code.f08", "-o", "/tmp/code"], 0x55bf8c611028 /* 7 vars */) = 0
18    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/ccGlaLCm.s"], 0x10398e0 /* 10 vars */) = 0
18    +++ exited with 0 +++
17    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=18, si_uid=0, si_status=0, si_utime=1, si_stime=0} ---
19    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/ccElMGHe.o", "/tmp/ccGlaLCm.s"], 0x10398e0 /* 10 vars */) = 0
19    +++ exited with 0 +++
17    --- 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("/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"..., ...], 0x10398e0 /* 12 vars */) = 0
21    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"..., ...], 0x7ffe4b97ac38 /* 12 vars */) = 0
21    +++ exited with 0 +++
20    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=21, si_uid=0, si_status=0, si_utime=1, si_stime=2} ---
20    +++ exited with 0 +++
17    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=20, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
17    +++ exited with 0 +++
14    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=17, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
22    execve("/bin/cat", ["cat", "-"], 0x55bf8bbc6d08 /* 7 vars */ <unfinished ...>
23    execve("/tmp/code", ["/tmp/code"], 0x55bf8bbc6cf0 /* 7 vars */ <unfinished ...>
22    <... execve resumed>)             = 0
23    <... execve resumed>)             = 0
22    +++ exited with 0 +++
14    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=22, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
23    +++ exited with 2 +++
14    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=23, si_uid=0, si_status=2, si_utime=0, si_stime=0} ---
24    execve("/bin/rm", ["rm", "/tmp/code.f08", "/tmp/code"], 0x55bf8bbc6cf0 /* 7 vars */) = 0
24    +++ exited with 0 +++
14    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=24, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
14    +++ exited with 0 +++