CF784B.Kids' Riddle
普及+/提高
通过率:0%
时间限制:2.00s
内存限制:64MB
AC君温馨提醒
该题目为【codeforces】题库的题目,您提交的代码将被提交至codeforces进行远程评测,并由ACGO抓取测评结果后进行展示。由于远程测评的测评机由其他平台提供,我们无法保证该服务的稳定性,若提交后无反应,请等待一段时间后再进行重试。
题目描述
Programmers' kids solve this riddle in 5-10 minutes. How fast can you do it?
程序员的孩子能在 5–10 分钟内解开这道谜题。你最快需要多长时间?
输入格式
The input contains a single integer n (0 ≤ n ≤ 2000000000).
输入包含一个整数 n(0 ≤ n ≤ 2000000000)。
输出格式
Output a single integer.
输出一个整数。
输入输出样例
输入#1
11
输出#1
2
输入#2
14
输出#2
0
输入#3
61441
输出#3
2
输入#4
571576
输出#4
10
输入#5
2128506
输出#5
3
输入解题思路,AI测评打分。不知道怎么写?