static void sieve ( ) {
  Arrays . fill ( isPrime , true ) ;
  isPrime [ 0 ] = isPrime [ 1 ] = false ;
  for ( int i = 2 ;
  i <= ( int ) 1e5 ;
  i ++ ) {
    for ( int j = 2 ;
    i * j <= ( int ) 1e5 ;
    j ++ ) {
      isPrime [ i * j ] = false ;
    }
  }
}

static void sieve ( ) { Arrays . fill ( isPrime , true ) ; isPrime [ 0 ] = isPrime [ 1 ] = false ; for ( int i = 2 ; i <= ( int ) 1e5 ; i ++ ) { for ( int j = 2 ; i * j <= ( int ) 1e5 ; j ++ ) { isPrime [ i * j ] = false ; } } }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters) body: (block (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier) (true)))) (expression_statement (assignment_expression left: (array_access array: (identifier) index: (decimal_integer_literal)) right: (assignment_expression left: (array_access array: (identifier) index: (decimal_integer_literal)) right: (false)))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) condition: (binary_expression left: (identifier) right: (cast_expression type: (integral_type) value: (decimal_floating_point_literal))) update: (update_expression (identifier)) body: (block (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) condition: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (cast_expression type: (integral_type) value: (decimal_floating_point_literal))) update: (update_expression (identifier)) body: (block (expression_statement (assignment_expression left: (array_access array: (identifier) index: (binary_expression left: (identifier) right: (identifier))) right: (false)))))))))