Ad-Hoc Problem, Math problem, URI Online Judge, সহজ প্রোগ্রামিং সমস্যা URI -- 1323 (Feynman) Solution : Formula for n*n Grid's square sum :{ n*(n+1)*(2n+1) }/6 Formula for n*m Grid's Rectangle sum : { n*(n+1) /2 }^2 Share This: Facebook Twitter Google+ Stumble Digg Email ThisBlogThis!Share to TwitterShare to Facebook