Ad
  • Custom User Avatar

    My solution works correctly in clion on laptop , but when I copied my solution and tried it , I got an error:
    Expected: 19009 Actual: 10990. When I putting 10990 in clion , my solution returns 19009. I actually tried to copy it about 3 times and all another cases is OK, so what type of problem I have and maybe somebody knows what to do?
    P.S.: I also got an error/warning for using atoi(). What is atoi() problem and why I should refuse to use it?