190fc928426384117ea7444da78dcbbab7226808
not proud of this one either, completely cheated and it does not get exactly the correct error (it was off by one for my input), but the quadratic solver on Wolfram Alpha was able to do it.
Description
Languages
Rust
99.7%
Python
0.3%