Result

AC

Duration

1016ms

Code [DL]

(method(a b c d e f g)=:if(eq $b $c)(echo $c)else:echo $e)@(""::split:readline)
source $0

stdin

277 898
739 338
267 714
197 468
774 334
271 177
622 228
725 778
922 553
989 685
311 119
355 259
478 775
692 223
133 348
965 552
258 143
188 815
177 228
137 371
387 899
341 347
982 629
964 643
361 691
662 389
322 711
143 575
127 746
921 615
499 898
278 872

stdout

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

stderr

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

strace

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