by@moratorium08
AC
2035ms
use std::io::*;fn main(){let b=&mut[0;300];stdin().read(b);for i in 0..32{print!("{}",if b[8*i+1]==b[8*i+2]{b[8*i+2]}else{b[8*i+4]}as char)}}
924 847 467 641 742 421 255 886 923 112 671 117 997 173 654 441 822 424 697 491 662 294 114 149 169 367 981 883 361 168 177 675 151 911 599 319 833 332 743 552 564 469 155 991 173 322 949 413 491 996 387 183 362 734 277 778 541 377 255 622 566 631 544 474
86451114242138179935453491773564
warning: unused `std::result::Result` that must be used --> /tmp/code.rs:1:44 | 1 | use std::io::*;fn main(){let b=&mut[0;300];stdin().read(b);for i in 0..32{print!("{}",if b[8*i+1]==b[8*i+2]{b[8*i+2]}else{b[8*i+4]}as char)}} | ^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_must_use)]` on by default = note: this `Result` may be an `Err` variant, which should be handled
10 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fff354e2150 /* 7 vars */) = 0 11 execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x564b59f8ed18 /* 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.rs"], 0x564b59f8ed38 /* 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/rustc", ["/usr/bin/rustc", "-o", "/tmp/code", "/tmp/code.rs"], 0x564b59f8ed48 /* 7 vars */) = 0 17 +++ exited with 0 +++ 18 +++ exited with 0 +++ 19 +++ exited with 0 +++ 21 +++ exited with 0 +++ 20 +++ exited with 0 +++ 24 +++ exited with 0 +++ 23 +++ exited with 0 +++ 22 +++ exited with 0 +++ 28 +++ exited with 0 +++ 27 +++ exited with 0 +++ 25 +++ exited with 0 +++ 30 +++ exited with 0 +++ 29 +++ exited with 0 +++ 26 +++ exited with 0 +++ 33 +++ exited with 0 +++ 32 +++ exited with 0 +++ 15 --- SIGUSR1 {si_signo=SIGUSR1, si_code=SI_TKILL, si_pid=13, si_uid=0} --- 31 +++ exited with 0 +++ 15 +++ exited with 0 +++ 16 +++ exited with 0 +++ 34 execve("/usr/lib/rustlib/x86_64-alpine-linux-musl/bin/cc", ["cc", "-Wl,--as-needed", "-Wl,-z,noexecstack", "-Wl,--eh-frame-hdr", "-m64", "-L", "/usr/lib/rustlib/x86_64-alpine-l"..., "/tmp/code.code.7rcbfp3g-cgu.0.rc"..., "/tmp/code.code.7rcbfp3g-cgu.1.rc"..., "/tmp/code.code.7rcbfp3g-cgu.10.r"..., "/tmp/code.code.7rcbfp3g-cgu.11.r"..., "/tmp/code.code.7rcbfp3g-cgu.12.r"..., "/tmp/code.code.7rcbfp3g-cgu.13.r"..., "/tmp/code.code.7rcbfp3g-cgu.14.r"..., "/tmp/code.code.7rcbfp3g-cgu.15.r"..., "/tmp/code.code.7rcbfp3g-cgu.2.rc"..., "/tmp/code.code.7rcbfp3g-cgu.3.rc"..., "/tmp/code.code.7rcbfp3g-cgu.4.rc"..., "/tmp/code.code.7rcbfp3g-cgu.5.rc"..., "/tmp/code.code.7rcbfp3g-cgu.6.rc"..., "/tmp/code.code.7rcbfp3g-cgu.7.rc"..., "/tmp/code.code.7rcbfp3g-cgu.8.rc"..., "/tmp/code.code.7rcbfp3g-cgu.9.rc"..., "-o", "/tmp/code", "/tmp/code.14qnxy4t7ap9bmcs.rcgu."..., "-Wl,--gc-sections", "-pie", "-Wl,-zrelro", "-Wl,-znow", "-nodefaultlibs", "-L", ...], 0x55a098fb18c0 /* 7 vars */) = -1 ENOENT (No such file or directory) 34 execve("/bin/cc", ["cc", "-Wl,--as-needed", "-Wl,-z,noexecstack", "-Wl,--eh-frame-hdr", "-m64", "-L", "/usr/lib/rustlib/x86_64-alpine-l"..., "/tmp/code.code.7rcbfp3g-cgu.0.rc"..., "/tmp/code.code.7rcbfp3g-cgu.1.rc"..., "/tmp/code.code.7rcbfp3g-cgu.10.r"..., "/tmp/code.code.7rcbfp3g-cgu.11.r"..., "/tmp/code.code.7rcbfp3g-cgu.12.r"..., "/tmp/code.code.7rcbfp3g-cgu.13.r"..., "/tmp/code.code.7rcbfp3g-cgu.14.r"..., "/tmp/code.code.7rcbfp3g-cgu.15.r"..., "/tmp/code.code.7rcbfp3g-cgu.2.rc"..., "/tmp/code.code.7rcbfp3g-cgu.3.rc"..., "/tmp/code.code.7rcbfp3g-cgu.4.rc"..., "/tmp/code.code.7rcbfp3g-cgu.5.rc"..., "/tmp/code.code.7rcbfp3g-cgu.6.rc"..., "/tmp/code.code.7rcbfp3g-cgu.7.rc"..., "/tmp/code.code.7rcbfp3g-cgu.8.rc"..., "/tmp/code.code.7rcbfp3g-cgu.9.rc"..., "-o", "/tmp/code", "/tmp/code.14qnxy4t7ap9bmcs.rcgu."..., "-Wl,--gc-sections", "-pie", "-Wl,-zrelro", "-Wl,-znow", "-nodefaultlibs", "-L", ...], 0x55a098fb18c0 /* 7 vars */) = -1 ENOENT (No such file or directory) 34 execve("/usr/local/sbin/cc", ["cc", "-Wl,--as-needed", "-Wl,-z,noexecstack", "-Wl,--eh-frame-hdr", "-m64", "-L", "/usr/lib/rustlib/x86_64-alpine-l"..., "/tmp/code.code.7rcbfp3g-cgu.0.rc"..., "/tmp/code.code.7rcbfp3g-cgu.1.rc"..., "/tmp/code.code.7rcbfp3g-cgu.10.r"..., "/tmp/code.code.7rcbfp3g-cgu.11.r"..., "/tmp/code.code.7rcbfp3g-cgu.12.r"..., "/tmp/code.code.7rcbfp3g-cgu.13.r"..., "/tmp/code.code.7rcbfp3g-cgu.14.r"..., "/tmp/code.code.7rcbfp3g-cgu.15.r"..., "/tmp/code.code.7rcbfp3g-cgu.2.rc"..., "/tmp/code.code.7rcbfp3g-cgu.3.rc"..., "/tmp/code.code.7rcbfp3g-cgu.4.rc"..., "/tmp/code.code.7rcbfp3g-cgu.5.rc"..., "/tmp/code.code.7rcbfp3g-cgu.6.rc"..., "/tmp/code.code.7rcbfp3g-cgu.7.rc"..., "/tmp/code.code.7rcbfp3g-cgu.8.rc"..., "/tmp/code.code.7rcbfp3g-cgu.9.rc"..., "-o", "/tmp/code", "/tmp/code.14qnxy4t7ap9bmcs.rcgu."..., "-Wl,--gc-sections", "-pie", "-Wl,-zrelro", "-Wl,-znow", "-nodefaultlibs", "-L", ...], 0x55a098fb18c0 /* 7 vars */) = -1 ENOENT (No such file or directory) 34 execve("/usr/local/bin/cc", ["cc", "-Wl,--as-needed", "-Wl,-z,noexecstack", "-Wl,--eh-frame-hdr", "-m64", "-L", "/usr/lib/rustlib/x86_64-alpine-l"..., "/tmp/code.code.7rcbfp3g-cgu.0.rc"..., "/tmp/code.code.7rcbfp3g-cgu.1.rc"..., "/tmp/code.code.7rcbfp3g-cgu.10.r"..., "/tmp/code.code.7rcbfp3g-cgu.11.r"..., "/tmp/code.code.7rcbfp3g-cgu.12.r"..., "/tmp/code.code.7rcbfp3g-cgu.13.r"..., "/tmp/code.code.7rcbfp3g-cgu.14.r"..., "/tmp/code.code.7rcbfp3g-cgu.15.r"..., "/tmp/code.code.7rcbfp3g-cgu.2.rc"..., "/tmp/code.code.7rcbfp3g-cgu.3.rc"..., "/tmp/code.code.7rcbfp3g-cgu.4.rc"..., "/tmp/code.code.7rcbfp3g-cgu.5.rc"..., "/tmp/code.code.7rcbfp3g-cgu.6.rc"..., "/tmp/code.code.7rcbfp3g-cgu.7.rc"..., "/tmp/code.code.7rcbfp3g-cgu.8.rc"..., "/tmp/code.code.7rcbfp3g-cgu.9.rc"..., "-o", "/tmp/code", "/tmp/code.14qnxy4t7ap9bmcs.rcgu."..., "-Wl,--gc-sections", "-pie", "-Wl,-zrelro", "-Wl,-znow", "-nodefaultlibs", "-L", ...], 0x55a098fb18c0 /* 7 vars */) = -1 ENOENT (No such file or directory) 34 execve("/usr/sbin/cc", ["cc", "-Wl,--as-needed", "-Wl,-z,noexecstack", "-Wl,--eh-frame-hdr", "-m64", "-L", "/usr/lib/rustlib/x86_64-alpine-l"..., "/tmp/code.code.7rcbfp3g-cgu.0.rc"..., "/tmp/code.code.7rcbfp3g-cgu.1.rc"..., "/tmp/code.code.7rcbfp3g-cgu.10.r"..., "/tmp/code.code.7rcbfp3g-cgu.11.r"..., "/tmp/code.code.7rcbfp3g-cgu.12.r"..., "/tmp/code.code.7rcbfp3g-cgu.13.r"..., "/tmp/code.code.7rcbfp3g-cgu.14.r"..., "/tmp/code.code.7rcbfp3g-cgu.15.r"..., "/tmp/code.code.7rcbfp3g-cgu.2.rc"..., "/tmp/code.code.7rcbfp3g-cgu.3.rc"..., "/tmp/code.code.7rcbfp3g-cgu.4.rc"..., "/tmp/code.code.7rcbfp3g-cgu.5.rc"..., "/tmp/code.code.7rcbfp3g-cgu.6.rc"..., "/tmp/code.code.7rcbfp3g-cgu.7.rc"..., "/tmp/code.code.7rcbfp3g-cgu.8.rc"..., "/tmp/code.code.7rcbfp3g-cgu.9.rc"..., "-o", "/tmp/code", "/tmp/code.14qnxy4t7ap9bmcs.rcgu."..., "-Wl,--gc-sections", "-pie", "-Wl,-zrelro", "-Wl,-znow", "-nodefaultlibs", "-L", ...], 0x55a098fb18c0 /* 7 vars */) = -1 ENOENT (No such file or directory) 34 execve("/usr/bin/cc", ["cc", "-Wl,--as-needed", "-Wl,-z,noexecstack", "-Wl,--eh-frame-hdr", "-m64", "-L", "/usr/lib/rustlib/x86_64-alpine-l"..., "/tmp/code.code.7rcbfp3g-cgu.0.rc"..., "/tmp/code.code.7rcbfp3g-cgu.1.rc"..., "/tmp/code.code.7rcbfp3g-cgu.10.r"..., "/tmp/code.code.7rcbfp3g-cgu.11.r"..., "/tmp/code.code.7rcbfp3g-cgu.12.r"..., "/tmp/code.code.7rcbfp3g-cgu.13.r"..., "/tmp/code.code.7rcbfp3g-cgu.14.r"..., "/tmp/code.code.7rcbfp3g-cgu.15.r"..., "/tmp/code.code.7rcbfp3g-cgu.2.rc"..., "/tmp/code.code.7rcbfp3g-cgu.3.rc"..., "/tmp/code.code.7rcbfp3g-cgu.4.rc"..., "/tmp/code.code.7rcbfp3g-cgu.5.rc"..., "/tmp/code.code.7rcbfp3g-cgu.6.rc"..., "/tmp/code.code.7rcbfp3g-cgu.7.rc"..., "/tmp/code.code.7rcbfp3g-cgu.8.rc"..., "/tmp/code.code.7rcbfp3g-cgu.9.rc"..., "-o", "/tmp/code", "/tmp/code.14qnxy4t7ap9bmcs.rcgu."..., "-Wl,--gc-sections", "-pie", "-Wl,-zrelro", "-Wl,-znow", "-nodefaultlibs", "-L", ...], 0x55a098fb18c0 /* 7 vars */) = 0 35 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"..., "--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/rustlib/x86_64-alpine"..., "-L/usr/lib/rustlib/x86_64-alpine"..., "-L/usr/lib/gcc/x86_64-alpine-lin"..., "-L/usr/lib/gcc/x86_64-alpine-lin"..., "-L/usr/lib/gcc/x86_64-alpine-lin"..., "-L/lib/../lib", "-L/usr/lib/../lib", "-L/usr/lib/gcc/x86_64-alpine-lin"..., "-L/usr/lib/gcc/x86_64-alpine-lin"..., "--as-needed", ...], 0x170b2e0 /* 12 vars */) = 0 36 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"..., "--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/rustlib/x86_64-alpine"..., "-L/usr/lib/rustlib/x86_64-alpine"..., "-L/usr/lib/gcc/x86_64-alpine-lin"..., "-L/usr/lib/gcc/x86_64-alpine-lin"..., "-L/usr/lib/gcc/x86_64-alpine-lin"..., "-L/lib/../lib", "-L/usr/lib/../lib", "-L/usr/lib/gcc/x86_64-alpine-lin"..., "-L/usr/lib/gcc/x86_64-alpine-lin"..., "--as-needed", ...], 0x7ffcc20d89e8 /* 12 vars */) = 0 36 +++ exited with 0 +++ 35 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=36, si_uid=0, si_status=0, si_utime=8, si_stime=7} --- 35 +++ exited with 0 +++ 34 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=35, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 34 +++ exited with 0 +++ 14 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=34, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 14 +++ exited with 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=20, si_stime=5} --- 37 execve("/bin/cat", ["cat", "-"], 0x564b59f8ed08 /* 7 vars */) = 0 38 execve("/tmp/code", ["/tmp/code"], 0x564b59f8ecf0 /* 7 vars */) = 0 37 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=37, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 38 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=38, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 39 execve("/bin/rm", ["rm", "/tmp/code.rs", "/tmp/code"], 0x564b59f8ecf0 /* 7 vars */) = 0 39 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=39, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 10 +++ exited with 0 +++