KMXOR - Editorial (Unofficial) (As i know many of you were near to the solution and you r getting wrong answers)

for "5 8 " you forgot to print two one’s …

okay sure… give me some minutes…

Your logic is correct… got AC after some typecasting…

just type cast the output of pow(x,y) function to (ll) and that’s it…

ya sure… wait…

Your logic is also correct typecast problem…

here is your accepted soln

here is your accepted soln… didn’t knew what was float(x)…

Thanks bro.

1 Like

Thank you so much @vijju123
It was a great help for me… :smiley:

loved the edit :slight_smile:

1 Like

Latter part is left as an homework for you. I only gave hints so that you can discover the secret yourself :slight_smile: . Its better that way :slight_smile:

1 Like

yup… thanks… that’s enough hints…

Thank you so much… okay I ll surely keep this points in mind…
yeah that was a very huge editorial… XD

thanks for latex formats and pointing out my mistakes…

My pleasure bro :slight_smile:

1 Like

Let me check… wait…

Python 3.5, compiling that gives WA to me.

yeah got the language now…

case 2 1 prints 0 1