// suma.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include int _tmain(int argc, _TCHAR* argv[]) { int n,nr=0; std::cin>>n; while(n) { nr+=n%2; n/=2; } std::cout<