C++ STL Course Part 2 has Flawed Test Inputs

Describe your issue

Last problem’s test input cases are erroneous, even the solution you’ve provided won’t work for inappropriate inputs, please fix it.

Screenshot

Additional info

Hi @sec1911, we have checked the problem and did not find any issues. After reviewing your submission, we discovered that the incorrect result is due to the use of setprecision.