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

maniratnagupta's blog

By maniratnagupta, history, 6 years ago, In English
  • Vote: I like it
  • -4
  • Vote: I do not like it

»
6 years ago, # |
Rev. 5   Vote: I like it 0 Vote: I do not like it

I have just tried your first submission after some changes and got "Accepted".

I hab been helped from these two pages:

Converting 'double' to 'string'.

Replacing all characters which equal some value with another one in a string.

And this is my submission (it's enough to check only the output part).

P.S. I'm not a C# programmer, I only searched for the subject. So, there can be better solutions.