https://hack.codingblocks.com/contests/c/255/684 here is code https://ide.codingblocks.com/s/37843
Https://hack.codingblocks.com/contests/c/255/684
You have to take no. of test cases in input first and then calculate the no. of set bits for each input. In this code you aren’t taking the the no. of test cases in input.
1 Like
thanks for the previous one .
http://hack.codingblocks.com/contests/c/255/47s
in this out of 4, 3 test cases are failing i am unable to figure out can you help me plz here is code https://ide.codingblocks.com/s/37986.
There is no need to print spaces between the numbers. Look at the output format.
1 Like