#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int EXIT_SUCCESS;
int /*<<< orphan*/ getCordinate(int, int *, int *);
int getInt();
double getMaxArea(int, int *, int *);
int /*<<< orphan*/ printf(char *, double);
int main() {
  int num;
  int x[300], y[300];
  num = getInt();
  getCordinate(num, x, y);
  printf("%.2f", getMaxArea(num, x, y));
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x970,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1060 <getInt@plt>
mov    %eax,-0x8(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x4c0(%rbp),%rsi
lea    -0x970(%rbp),%rdx
call   1030 <getCordinate@plt>
mov    -0x8(%rbp),%edi
lea    -0x4c0(%rbp),%rsi
lea    -0x970(%rbp),%rdx
call   1050 <getMaxArea@plt>
lea    0xe71(%rip),%rdi
call   1040 <printf@plt>
mov    0x2e45(%rip),%rax
mov    (%rax),%eax
add    $0x970,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
sub    $0x960,%rsp
xor    %eax,%eax
call   1060 <getInt@plt>
mov    %eax,%ebx
lea    0x4b0(%rsp),%r14
mov    %rsp,%r15
mov    %eax,%edi
mov    %r14,%rsi
mov    %r15,%rdx
call   1030 <getCordinate@plt>
mov    %ebx,%edi
mov    %r14,%rsi
mov    %r15,%rdx
call   1050 <getMaxArea@plt>
lea    0xe7f(%rip),%rdi
call   1040 <printf@plt>
mov    0x2e53(%rip),%rax
mov    (%rax),%eax
add    $0x960,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [5 x i8] c"%.2f\00"
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca [300 x i32]
%4 = alloca [300 x i32]
store i32 0, i32* %1
%5 = call i32 (...) @getInt()
store i32 %5, i32* %2
%6 = load i32, i32* %2
%7 = getelementptr inbounds [300 x i32], [300 x i32]* %3, i64 0, i64 0
%8 = getelementptr inbounds [300 x i32], [300 x i32]* %4, i64 0, i64 0
%9 = call i32 @getCordinate(i32 %6, i32* %7, i32* %8)
%10 = load i32, i32* %2
%11 = getelementptr inbounds [300 x i32], [300 x i32]* %3, i64 0, i64 0
%12 = getelementptr inbounds [300 x i32], [300 x i32]* %4, i64 0, i64 0
%13 = call double @getMaxArea(i32 %10, i32* %11, i32* %12)
%14 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), double %13)
%15 = load i32, i32* @EXIT_SUCCESS
ret i32 %15
}

LLVM IR (-O2):
@.str = [5 x i8] c"%.2f\00"
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = alloca [300 x i32]
%2 = alloca [300 x i32]
%3 = bitcast [300 x i32]* %1 to i8*
%4 = bitcast [300 x i32]* %2 to i8*
%5 = tail call i32 (...) @getInt()
%6 = getelementptr inbounds [300 x i32], [300 x i32]* %1, i64 0, i64 0
%7 = getelementptr inbounds [300 x i32], [300 x i32]* %2, i64 0, i64 0
%8 = call i32 @getCordinate(i32 %5, i32* %6, i32* %7)
%9 = call double @getMaxArea(i32 %5, i32* %6, i32* %7)
%10 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), double %9)
%11 = load i32, i32* @EXIT_SUCCESS
ret i32 %11
}