You are viewing a single comment's thread. Return to all comments →
c#
var aa = (int)Math.Sqrt(a); var bb = (int)Math.Sqrt(b); return (bb - aa) + (aa*aa == a ? 1 : 0);
Seems like cookies are disabled on this browser, please enable them to open this website
Sherlock and Squares
You are viewing a single comment's thread. Return to all comments →
c#