IQ Test by *yuko*

#define f(x)s[x..x+2]+t[x..x+2]
var s,t:string;begin repeat readln(s);readln(t);writeln((24-pos(f(1),f(13)+f(9)+f(5)))div 6,f(1):7)until 0>0end.

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

download

return to the top page