|
|
вернуться в форумwhy i haven't crash on my computer for all tests? I 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 Re: why i haven't crash on my computer for all tests? 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. |
|
|