Result

AC

Duration

981ms

Code [DL]

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

stdin

196 856
287 881
851 154
787 871
873 993
611 316
514 146
175 977
524 438
199 948
133 352
833 229
677 625
784 889
442 239
872 931
756 355
578 187
227 773
511 118
659 955
499 792
699 665
914 745
546 472
248 314
611 682
521 924
486 823
863 224
977 772
824 449

stdout

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

stderr

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

strace

11    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffd66365be0 /* 7 vars */) = 0
12    execve("/bin/cat", ["cat", "-"], 0x558a333dbcf8 /* 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} ---
13    execve("/usr/bin/gnuplot", ["/usr/bin/gnuplot", "-c", "/volume/CODE", "196 856\n287 881\n851 154\n787 871\n"...], 0x558a33963290 /* 7 vars */) = 0
13    +++ exited with 1 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=1, si_utime=0, si_stime=1} ---
11    +++ exited with 1 +++