Submit solution
Points:
3 (partial)
Time limit:
0.5s
Memory limit:
64M
Author:
Problem type
Allowed languages
C, C++
Given 64-bit unsigned integers, count the bits set in each one.
Implementation
One function:
int setbits(unsigned long long);
Your function may be called up to times.
Constraints
Your code must be less than 560 characters in length. 560 characters is plenty for any sane solution. Otherwise, only half of the points are awarded.
Comments
Is this intentional, or a fundamental flaw in the system?
The grader has been updated so that the grader's process never actually computes the answer. Similar exploits should no longer be possible.
Hint for this problem: https://www.youtube.com/watch?v=u5IyYNI28gM
This comment is hidden due to too much negative feedback. Show it anyway.