When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

adityabajaj24's blog

By adityabajaj24, history, 5 years ago, In English

PLEASE HELP ME TO FIND MISTAKE IN MY CODE ->https://codeforces.com/contest/1036/submission/42659746. ANY HELP WILL BE APPRECIATED.

  • Vote: I like it
  • -14
  • Vote: I do not like it

| Write comment?
»
5 years ago, # |
  Vote: I like it 0 Vote: I do not like it

I think the error is due to the use of floating-point numbers. Use "//" instead "/" and you'll get AC

»
5 years ago, # |
  Vote: I like it +23 Vote: I do not like it

LOL. CAN YOU NOT WRITE YOUR WORDS IN CAPITAL LETTERS?! I THINK THAT EVERYONE WOULD APPRECIATE THAT. THANK YOU.

  • »
    »
    5 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    I THINK HE FORGOT TO TURN OFF CAPS LOCK (LIKE MANY OTHER PEOPLE I KNOW).