HWOJ(练习用)挑7

import java.util.*;
public class Main{
public static void main(String[] args) {
            Scanner scanner = new Scanner(System.in);
            int number = findNumberOf1(scanner.nextInt());
            System.out.println(number);

        }

        public static int findNumberOf1(int num) {
            
            int count = 0;
            for(int i=1;i

你可能感兴趣的:(HWOJ(练习用)挑7)