Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

L_Drago_Destructor's blog

By L_Drago_Destructor, history, 3 years ago, In English

Let me explain! My inspiration came from this problem https://codeforces.me/contest/1811/problem/E, during contest I wasn't able to solve this DIV3_E, but after seeing the solution I was amazed by how easy and beautiful it was.

Basically you have to convert the number in base 9 and map the corresponding digits.(here is my code: (https://codeforces.me/contest/1811/submission/201234595)

So of course now it seems relay easy, but at first for me, during contest, it wasn't like that at all.

I am sure you have encountered similar problems and I thought it might be interesting to share them.

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