by@kotatsugame_t
WA
1102ms
-export([main/1]). f() -> {ok,[A,B]}=io:fread("","~d~d"), T = case 9>B rem 110 of true->B div 100; false->A rem 10 end, io:format("~B~n",[T]), ok. main(_)-> f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f(), f().
641 144 299 598 746 141 334 342 422 233 843 796 145 339 124 629 922 128 466 641 252 277 991 452 411 835 449 944 713 116 833 665 549 446 533 335 776 665 715 994 122 991 611 544 728 843 786 898 446 869 917 574 383 239 414 116 379 716 114 146 167 774 833 334
1 9 6 4 2 3 5 4 2 6 2 1 1 9 1 6 4 3 6 9 9 1 8 6 6 7 3 1 9 4 7 3
10 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fffb97ab240 /* 7 vars */) = 0 11 execve("/bin/cat", ["cat", "-"], 0x55832f143d38 /* 7 vars */ <unfinished ...> 12 execve("/usr/bin/escript", ["/usr/bin/escript", "/volume/CODE"], 0x55832f143d50 /* 7 vars */ <unfinished ...> 11 <... execve resumed>) = 0 12 <... execve resumed>) = 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/erl", ["/usr/bin/erl", "+B", "-boot", "no_dot_erlang", "-noshell", "-run", "escript", "start", "-extra", "/volume/CODE"], 0x55c91cae65e0 /* 8 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=0, si_stime=0} --- 15 execve("/bin/sed", ["sed", "s/.*\\///"], 0x555866f22168 /* 8 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} --- 13 +++ exited with 0 +++ 12 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 12 execve("/usr/lib/erlang/erts-10.6.4/bin/erlexec", ["/usr/lib/erlang/erts-10.6.4/bin/"..., "+B", "-boot", "no_dot_erlang", "-noshell", "-run", "escript", "start", "-extra", "/volume/CODE"], 0x555866f22170 /* 12 vars */) = 0 12 execve("/usr/lib/erlang/erts-10.6.4/bin/beam.smp", ["/volume/CODE", "-B", "--", "-root", "/usr/lib/erlang", "-progname", "erl", "--", "-home", "/root", "--", "-boot", "no_dot_erlang", "-noshell", "-run", "escript", "start", "--", "-extra", "/volume/CODE"], 0x7ffd9893cde0 /* 12 vars */) = 0 19 execve("/usr/lib/erlang/erts-10.6.4/bin/erl_child_setup", ["erl_child_setup", "1024"], 0x7ffd8bf07ba0 /* 12 vars */) = 0 36 execve("/bin/sh", ["sh", "-c", "exec inet_gethost 4 "], 0x7f78ae694660 /* 12 vars */) = 0 36 execve("/usr/lib/erlang/erts-10.6.4/bin/inet_gethost", ["inet_gethost", "4"], 0x5604d6ececf8 /* 12 vars */) = 0 36 +++ exited with 0 +++ 19 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=36, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 37 --- SIGUSR1 {si_signo=SIGUSR1, si_code=SI_USER, si_pid=36, si_uid=0} --- 37 +++ killed by SIGUSR1 +++ 18 +++ exited with 0 +++ 35 +++ exited with 0 +++ 34 +++ exited with 0 +++ 33 +++ exited with 0 +++ 32 +++ exited with 0 +++ 31 +++ exited with 0 +++ 30 +++ exited with 0 +++ 29 +++ exited with 0 +++ 28 +++ exited with 0 +++ 27 +++ exited with 0 +++ 26 +++ exited with 0 +++ 25 +++ exited with 0 +++ 24 +++ exited with 0 +++ 23 +++ exited with 0 +++ 22 +++ exited with 0 +++ 20 +++ exited with 0 +++ 17 +++ exited with 0 +++ 16 +++ exited with 0 +++ 21 +++ 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=25, si_stime=7} --- 19 +++ exited with 0 +++ 10 +++ exited with 0 +++