Result

AC

Duration

1046ms

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

966 581
764 461
316 556
975 478
711 115
755 358
792 997
971 118
593 297
672 786
445 589
481 228
667 971
344 481
892 263
154 449
979 927
442 956
722 425
284 883
479 758
355 744
522 255
635 863
736 369
122 779
489 891
174 475
429 445
688 883
155 993
192 122

stdout

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

stderr

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

strace

11    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffce9b8e070 /* 7 vars */) = 0
12    execve("/bin/cat", ["cat", "-"], 0x55c9e997f048 /* 7 vars */) = 0
14    execve("/usr/bin/go", ["/usr/bin/go", "env", "GOPATH"], 0x55c9e997f078 /* 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} ---
16    +++ exited with 0 +++
18    +++ exited with 0 +++
19    +++ exited with 0 +++
15    +++ exited with 0 +++
17    +++ 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"], 0x55c9e997f068 /* 7 vars */) = 0
25    +++ exited with 0 +++
24    +++ exited with 0 +++
23    +++ exited with 0 +++
22    +++ exited with 0 +++
21    +++ exited with 0 +++
20    +++ 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=5, si_stime=5} ---
11    +++ exited with 0 +++