Result

AC

Duration

937ms

Code [DL]

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

stdin

476 662
567 567
714 148
911 197
738 885
456 557
485 592
774 477
574 193
818 981
644 443
477 471
492 955
366 662
792 322
383 879
544 964
576 872
335 934
933 345
229 295
598 233
787 119
968 667
811 667
668 695
645 546
967 712
419 664
255 851
733 567
522 998

stdout

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

stderr

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

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffe60d58510 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x563b093d3cf8 /* 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", "476 662\n567 567\n714 148\n911 197\n"...], 0x563b0ac50290 /* 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=1} ---
10    +++ exited with 1 +++