I cant do this problem

Having issues while running the code for the question in this video.
link for code https://ide.codingblocks.com/s/208893

@lakshay2311 Use builtin_popcountll(i) . As you are having long long as your data type. Other than this do you have any other problem.

Same error

and if I look at the code prateek bhaiya did in the video bhaiya hasn’t use ll in builtinpopcount and still is running perfectly fine how?

@lakshay2311 Are you sure you have coded the same thing which prateek bhaiya wrote ?

Is there something wrong with my code?

@lakshay2311 I couldn’t find anything wrong

I did and it’s working fine now thank you for your time :slight_smile:

@lakshay2311 Great work . All the best