|
|
back to boardI haven't crash on my computer on all tests but have crash floating-point 10... Also my answers r<20000 is right if my brute force is right. sorry for my bad English Do you use int? Maybe you use something sqrt(sqr(int)+sqr(int)), and sqr(10^5)=10^10 makes overflow in int, and you get sqrt from negative number? r is <=100000. |
|
|