Result [link]

WA

Code [DL]

print  IO.exec("echo 'obase=10;ibase=2;' >> i.txt");
print  IO.exec("cat i.txt input | bc ");

stdin

0110101110100010000100010110111110011101101011001101010010011100011111010110100100001011101011100011

stdout


stderr

strace