|
|
back to boardIf you have WA 30+ Try different epsilons. I got AC with solution that had WA 30,32,34 before that. And all that i changed was epsilon. Re: If you have WA 30+ Better solution would be to do all calculation in integer types (e.g. long long) - thus you avoid precision issues. |
|
|