I am facing issue as I am getting wrong answer in the BITOBYT question on Codechef.
This is in python
y=n%27
z=n//27
if(y<=2):
print(2**z,0,0)
elif(y>2 and y<=10):
print(0,2**z,0)
else:
print(0,0,2**z)
Replacing 27 by 26 doesnt help
Any hints/solution?
Isn't Codechef a competition, where you show the extent of your knowledge? If your company has an outdoors day and a friendly sprint contest therein, will you have Usain run in your place?
This is C++ Forum. I pretend (for some bits of your code I don't even need to pretend) to not know python or bitobyt here.