Please subscribe to the official Codeforces channel in Telegram via the link: https://t.me/codeforces_official. ×

ymrg3307's blog

By ymrg3307, history, 9 months ago, In English,
 
 
 
 
  • Vote: I like it  
  • -4
  • Vote: I do not like it  

»
9 months 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.