Included in Circle by uru

#!ruby -anrmatrix
x,y=[A=$F.map(&:to_f),A[0..5]+[id]*2].map{|_|Matrix[*_.each_slice(2).map{|a,b|[a*a+b*b,a,b,1]}].det}
p x*y<0?1:0

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

download

return to the top page