public static void main ( String [ ] args ) {
  FastReader scn = new FastReader ( ) ;
  double l = scn . nextDouble ( ) , b = scn . nextDouble ( ) , a = scn . nextDouble ( ) , sol , t , pi = Math . acos ( - 1.0 ) ;
  if ( l > b ) {
    t = l ;
    l = b ;
    b = t ;
  }
  if ( a == 90 ) {
    sol = l * l ;
    System . out . println ( sol ) ;
    return ;
  }
  sol = l * b ;
  l = l / 2.0 ;
  b = b / 2.0 ;
  if ( a > 90 ) a = 180.0 - a ;
  a = a * pi / 180.0 ;
  double c = ( pi - a ) / 2 ;
  double t1 = l - b / Math . tan ( c ) ;
  sol -= t1 * t1 * Math . tan ( a ) ;
  double t2 = b - l / Math . tan ( c ) ;
  sol -= t2 * t2 * Math . tan ( a ) ;
  if ( t1 < 0 ) {
    sol = ( l / Math . tan ( a ) + l / Math . tan ( c ) ) * l * 4.0 ;
  }
  System . out . println ( sol ) ;
}

public static void main ( String [ ] args ) { FastReader scn = new FastReader ( ) ; double l = scn . nextDouble ( ) , b = scn . nextDouble ( ) , a = scn . nextDouble ( ) , sol , t , pi = Math . acos ( - 1.0 ) ; if ( l > b ) { t = l ; l = b ; b = t ; } if ( a == 90 ) { sol = l * l ; System . out . println ( sol ) ; return ; } sol = l * b ; l = l / 2.0 ; b = b / 2.0 ; if ( a > 90 ) a = 180.0 - a ; a = a * pi / 180.0 ; double c = ( pi - a ) / 2 ; double t1 = l - b / Math . tan ( c ) ; sol -= t1 * t1 * Math . tan ( a ) ; double t2 = b - l / Math . tan ( c ) ; sol -= t2 * t2 * Math . tan ( a ) ; if ( t1 < 0 ) { sol = ( l / Math . tan ( a ) + l / Math . tan ( c ) ) * l * 4.0 ; } System . out . println ( sol ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (array_type element: (type_identifier) dimensions: (dimensions)) name: (identifier))) body: (block (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_identifier) arguments: (argument_list)))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) declarator: (variable_declarator name: (identifier)) declarator: (variable_declarator name: (identifier)) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (unary_expression operand: (decimal_floating_point_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (block (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) consequence: (block (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (identifier)))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (decimal_floating_point_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (decimal_floating_point_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) consequence: (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (decimal_floating_point_literal) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (decimal_floating_point_literal)))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (decimal_integer_literal)))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier)))))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) consequence: (block (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier)))) right: (binary_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier)))))) right: (identifier)) right: (decimal_floating_point_literal)))))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (identifier))))))