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…
Thanks bro.
1 Like
loved the edit
1 Like
Latter part is left as an homework for you. I only gave hints so that you can discover the secret yourself . Its better that way
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
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