Result

WA

Duration

961ms

Code [DL]

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

stdin

168 994
894 225
929 624
433 336
175 782
391 991
745 498
244 118
297 465
293 338
955 669
466 873
844 644
166 263
811 119
827 229
838 791
121 711
474 644
389 982
866 677
633 869
759 591
376 992
469 195
598 898
197 754
392 227
799 926
821 173
896 966
817 315

stdout

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

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"], 0x7ffcbcd005b0 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x55c635917cf8 /* 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", "168 994\n894 225\n929 624\n433 336\n"...], 0x55c6371e6290 /* 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 +++