need help with problem :NUKES(easy section) m getting SIGSEGV err on submition

https://www.codechef.com/viewsolution/54627084

my approach is to convert the number to binary :slight_smile: .