Sololearn's compiler mistake!
Hello everyone! In the C++ course, while solving the second code project, I believed I solved the problem correctly however my output and the expected output weren't matching. I was a bit surprised and as a result, I copied the same exact code and tried different online compilers and Vscode too, my output there matched the expected output which after entering the number(11<18<29<33<44) must return 44.5 because 11% off from 50. But in Sololearn, my output is 49 always regardless of the input and I then realised that the variable min is always =2(only on sololearn) I have no idea why! So was it a coincidence or is it a mistake from the sololearn's compiler? (I tried all the visible test cases in vscode and they all worked normally and returned the expected output). https://sololearn.com/compiler-playground/cPCDykJwQbOz