Pages

Monday, August 25, 2014

COJ 2205. Counting Ones

The constraints are very low, up to 1000 so we can do it with simple implementation, take every number and divide it to 2 and every time add the answer and the output the final result.


       FULL SOURCE CODE

No comments:

Post a Comment