Here is one such solution : CodeChef: Practical coding for everyone
please add āunofficialā to heading. btw, good work.
Thanksā¦!!!
Thanksā¦!!!
Maybe your intent was correct to share a code along with the approachā¦ But the way your code is written ; Its toooooo hard to readā¦
Maybe the better alternative would be to provide a link to your code (From some submission somewhere) .
Do give a thought to thatā¦!!! Thanksā¦
1 Like
@shoom, I stand corrected. It appears that it is possible to design an algorithm where the total maximum cost is less than 400 coins in the worst case scenario.
I have two questions.
-
How did we came up with x^A + x^B ?
-
How do we solve x^A + x^B ?
yes please @utaha ( Or anyone who got that )ā¦ why is that equation correct and how do we solve that equationā¦???