I tried to solve Round 340 — Problem A
same code gives WA in GNU C++17 Compiler but is accepted in both the c++14 and c++20(64) compilers.
I expected ceil(5*0.2) to be 1, but it's giving 2. What's causing this?
I tried to solve Round 340 — Problem A
same code gives WA in GNU C++17 Compiler but is accepted in both the c++14 and c++20(64) compilers.
I expected ceil(5*0.2) to be 1, but it's giving 2. What's causing this?