private static long getResult ( long b ) {
  long i = 0 ;
  long count = 0 ;
  long total = 1 ;
  long m = b ;
  while ( b % 2 == 0 ) {
    b = b / 2 ;
    count ++ ;
  }
  total = total * ( count + 1 ) ;
  count = 0 ;
  for ( i = 3 ;
  i * i <= m ;
  i = i + 2 ) {
    count = 0 ;
    while ( b % i == 0 ) {
      b = b / i ;
      count ++ ;
    }
    total = total * ( count + 1 ) ;
  }
  if ( b > 1 ) {
    count = 1 ;
    total = total * ( count + 1 ) ;
  }
  return total ;
}

private static long getResult ( long b ) { long i = 0 ; long count = 0 ; long total = 1 ; long m = b ; while ( b % 2 == 0 ) { b = b / 2 ; count ++ ; } total = total * ( count + 1 ) ; count = 0 ; for ( i = 3 ; i * i <= m ; i = i + 2 ) { count = 0 ; while ( b % i == 0 ) { b = b / i ; count ++ ; } total = total * ( count + 1 ) ; } if ( b > 1 ) { count = 1 ; total = total * ( count + 1 ) ; } return total ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (identifier))) (while_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (decimal_integer_literal)) right: (decimal_integer_literal))) body: (block (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (decimal_integer_literal)))) (expression_statement (update_expression (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal))) (for_statement init: (assignment_expression left: (identifier) right: (decimal_integer_literal)) condition: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (decimal_integer_literal))) body: (block (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal))) (while_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (decimal_integer_literal))) body: (block (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (update_expression (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) consequence: (block (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal)))))))) (return_statement (identifier))))