LED recognition by 51b

import std.stdio;void main(){for(string s,t;s=readln,t=readln,s;puts=""){int l;foreach(i,c;readln)l=l*8+s[i]*4+t[i]+c*2,l=i%3-2?l:!putchar("80192537.64"[l%89%12]);}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page