Result

AC

Duration

1043ms

Code [DL]

define a:""::split:readline
if(eq($a::get 1):$a::get 2){
echo:$a::get 1
}else:echo:$a::get 4
source $0

stdin

811 841
914 668
264 443
929 916
842 743
822 662
866 664
677 734
688 484
246 645
529 223
722 328
957 165
828 875
328 388
549 947
159 842
298 473
143 146
753 536
744 447
799 965
365 458
812 133
872 227
212 117
463 228
899 137
433 661
469 658
678 215
942 423

stdout

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

stderr

boot.oh: 360: error/runtime: argument 1 (of 1) is invalid

strace

11    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffef55f6850 /* 7 vars */) = 0
12    execve("/bin/cat", ["cat", "-"], 0x55e4f276e048 /* 7 vars */) = 0
14    execve("/usr/bin/go", ["/usr/bin/go", "env", "GOPATH"], 0x55e4f276e078 /* 7 vars */) = 0
12    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
15    +++ exited with 0 +++
16    +++ exited with 0 +++
17    +++ exited with 0 +++
18    +++ exited with 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} ---
13    execve("/root/go/bin/oh", ["/root/go/bin/oh", "/volume/CODE"], 0x55e4f276e068 /* 7 vars */) = 0
24    +++ exited with 0 +++
23    +++ exited with 0 +++
22    +++ exited with 0 +++
21    +++ exited with 0 +++
20    +++ exited with 0 +++
19    +++ exited with 0 +++
13    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=2, si_stime=8} ---
11    +++ exited with 0 +++