Result

AC

Duration

837ms

Code [DL]

set print "-"
i=1
while(i){y=word(ARG1,i+1)
print y/10%11?word(ARG1,i)%10:y/100
i=i+2}

stdin

648 784
596 618
655 969
249 931
955 114
252 524
442 226
164 368
599 991
134 632
116 164
334 437
755 856
797 558
495 368
911 994
655 516
686 825
811 918
633 547
643 344
281 443
127 871
933 337
716 665
732 366
153 663
135 721
844 494
644 819
819 114
628 227

stdout

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

stderr

"/volume/CODE" line 4: Non-numeric string found where a numeric expression was expected

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fff149962c0 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x56324351bcf8 /* 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("/usr/bin/gnuplot", ["/usr/bin/gnuplot", "-c", "/volume/CODE", "648 784\n596 618\n655 969\n249 931\n"...], 0x563244c54290 /* 7 vars */) = 0
12    +++ exited with 1 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
10    +++ exited with 1 +++