Result

WA

Duration

520ms

Code [DL]

%"class.std::__1::basic_istream" = type { i32 (...)**, i64, %"class.std::__1::basic_ios.base" }
%"class.std::__1::basic_ios.base" = type <{ %"class.std::__1::ios_base", %"class.std::__1::basic_ostream"*, i32 }>
%"class.std::__1::ios_base" = type { i32 (...)**, i32, i64, i64, i32, i32, i8*, i8*, void (i32, %"class.std::__1::ios_base"*, i32)**, i32*, i64, i64, i64*, i64, i64, i8**, i64, i64 }
%"class.std::__1::basic_ostream" = type { i32 (...)**, %"class.std::__1::basic_ios.base" }

@_ZNSt3__13cinE = external global %"class.std::__1::basic_istream", align 8
@_ZNSt3__14coutE = external global %"class.std::__1::basic_ostream", align 8

; Function Attrs: noinline norecurse ssp uwtable
define i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  store i32 0, i32* %1, align 4
  %14 = call dereferenceable(168) %"class.std::__1::basic_istream"* @_ZNSt3__113basic_istreamIcNS_11char_traitsIcEEErsERi(%"class.std::__1::basic_istream"* @_ZNSt3__13cinE, i32* dereferenceable(4) %11)
  %15 = call dereferenceable(168) %"class.std::__1::basic_istream"* @_ZNSt3__113basic_istreamIcNS_11char_traitsIcEEErsERi(%"class.std::__1::basic_istream"* %14, i32* dereferenceable(4) %12)
  %16 = call dereferenceable(168) %"class.std::__1::basic_istream"* @_ZNSt3__113basic_istreamIcNS_11char_traitsIcEEErsERi(%"class.std::__1::basic_istream"* %15, i32* dereferenceable(4) %13)
  %17 = call dereferenceable(168) %"class.std::__1::basic_istream"* @_ZNSt3__113basic_istreamIcNS_11char_traitsIcEEErsERi(%"class.std::__1::basic_istream"* %16, i32* dereferenceable(4) %2)
  %18 = call dereferenceable(168) %"class.std::__1::basic_istream"* @_ZNSt3__113basic_istreamIcNS_11char_traitsIcEEErsERi(%"class.std::__1::basic_istream"* %17, i32* dereferenceable(4) %3)
  %19 = call dereferenceable(168) %"class.std::__1::basic_istream"* @_ZNSt3__113basic_istreamIcNS_11char_traitsIcEEErsERi(%"class.std::__1::basic_istream"* %18, i32* dereferenceable(4) %4)
  %20 = call dereferenceable(168) %"class.std::__1::basic_istream"* @_ZNSt3__113basic_istreamIcNS_11char_traitsIcEEErsERi(%"class.std::__1::basic_istream"* %19, i32* dereferenceable(4) %5)
  %21 = call dereferenceable(168) %"class.std::__1::basic_istream"* @_ZNSt3__113basic_istreamIcNS_11char_traitsIcEEErsERi(%"class.std::__1::basic_istream"* %20, i32* dereferenceable(4) %6)
  %22 = call dereferenceable(168) %"class.std::__1::basic_istream"* @_ZNSt3__113basic_istreamIcNS_11char_traitsIcEEErsERi(%"class.std::__1::basic_istream"* %21, i32* dereferenceable(4) %7)
  %23 = call dereferenceable(168) %"class.std::__1::basic_istream"* @_ZNSt3__113basic_istreamIcNS_11char_traitsIcEEErsERi(%"class.std::__1::basic_istream"* %22, i32* dereferenceable(4) %8)
  %24 = call dereferenceable(168) %"class.std::__1::basic_istream"* @_ZNSt3__113basic_istreamIcNS_11char_traitsIcEEErsERi(%"class.std::__1::basic_istream"* %23, i32* dereferenceable(4) %9)
  %25 = call dereferenceable(168) %"class.std::__1::basic_istream"* @_ZNSt3__113basic_istreamIcNS_11char_traitsIcEEErsERi(%"class.std::__1::basic_istream"* %24, i32* dereferenceable(4) %10)
  %26 = load i32, i32* %11, align 4
  %27 = load i32, i32* %2, align 4
  %28 = sub nsw i32 %27, %26
  store i32 %28, i32* %2, align 4
  %29 = load i32, i32* %12, align 4
  %30 = load i32, i32* %3, align 4
  %31 = sub nsw i32 %30, %29
  store i32 %31, i32* %3, align 4
  %32 = load i32, i32* %13, align 4
  %33 = load i32, i32* %4, align 4
  %34 = sub nsw i32 %33, %32
  store i32 %34, i32* %4, align 4
  %35 = load i32, i32* %11, align 4
  %36 = load i32, i32* %5, align 4
  %37 = sub nsw i32 %36, %35
  store i32 %37, i32* %5, align 4
  %38 = load i32, i32* %12, align 4
  %39 = load i32, i32* %6, align 4
  %40 = sub nsw i32 %39, %38
  store i32 %40, i32* %6, align 4
  %41 = load i32, i32* %13, align 4
  %42 = load i32, i32* %7, align 4
  %43 = sub nsw i32 %42, %41
  store i32 %43, i32* %7, align 4
  %44 = load i32, i32* %11, align 4
  %45 = load i32, i32* %8, align 4
  %46 = sub nsw i32 %45, %44
  store i32 %46, i32* %8, align 4
  %47 = load i32, i32* %12, align 4
  %48 = load i32, i32* %9, align 4
  %49 = sub nsw i32 %48, %47
  store i32 %49, i32* %9, align 4
  %50 = load i32, i32* %13, align 4
  %51 = load i32, i32* %10, align 4
  %52 = sub nsw i32 %51, %50
  store i32 %52, i32* %10, align 4
  %53 = load i32, i32* %2, align 4
  %54 = load i32, i32* %6, align 4
  %55 = mul nsw i32 %53, %54
  %56 = load i32, i32* %10, align 4
  %57 = mul nsw i32 %55, %56
  %58 = load i32, i32* %3, align 4
  %59 = load i32, i32* %7, align 4
  %60 = mul nsw i32 %58, %59
  %61 = load i32, i32* %8, align 4
  %62 = mul nsw i32 %60, %61
  %63 = add nsw i32 %57, %62
  %64 = load i32, i32* %4, align 4
  %65 = load i32, i32* %5, align 4
  %66 = mul nsw i32 %64, %65
  %67 = load i32, i32* %9, align 4
  %68 = mul nsw i32 %66, %67
  %69 = add nsw i32 %63, %68
  %70 = load i32, i32* %2, align 4
  %71 = load i32, i32* %9, align 4
  %72 = mul nsw i32 %70, %71
  %73 = load i32, i32* %7, align 4
  %74 = mul nsw i32 %72, %73
  %75 = sub nsw i32 %69, %74
  %76 = load i32, i32* %3, align 4
  %77 = load i32, i32* %10, align 4
  %78 = mul nsw i32 %76, %77
  %79 = load i32, i32* %5, align 4
  %80 = mul nsw i32 %78, %79
  %81 = sub nsw i32 %75, %80
  %82 = load i32, i32* %4, align 4
  %83 = load i32, i32* %8, align 4
  %84 = mul nsw i32 %82, %83
  %85 = load i32, i32* %6, align 4
  %86 = mul nsw i32 %84, %85
  %87 = sub nsw i32 %81, %86
  %88 = call dereferenceable(160) %"class.std::__1::basic_ostream"* @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEi(%"class.std::__1::basic_ostream"* @_ZNSt3__14coutE, i32 %87)
  ret i32 0
}

declare dereferenceable(168) %"class.std::__1::basic_istream"* @_ZNSt3__113basic_istreamIcNS_11char_traitsIcEEErsERi(%"class.std::__1::basic_istream"*, i32* dereferenceable(4)) #1

declare dereferenceable(160) %"class.std::__1::basic_ostream"* @_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEi(%"class.std::__1::basic_ostream"*, i32) #1

attributes #0 = { noinline norecurse ssp uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="penryn" "target-features"="+cx16,+fxsr,+mmx,+sse,+sse2,+sse3,+sse4.1,+ssse3,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
attributes #1 = { "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="penryn" "target-features"="+cx16,+fxsr,+mmx,+sse,+sse2,+sse3,+sse4.1,+ssse3,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }

!llvm.module.flags = !{!0}
!llvm.ident = !{!1}

!0 = !{i32 1, !"PIC Level", i32 2}
!1 = !{!"Apple LLVM version 9.0.0 (clang-900.0.39.2)"}

stdin

31 02 53
02 74 91
88 41 67
32 98 09

stdout

stderr

/tmp/code.o: In function `main':
/tmp/code.ll:(.text+0x13): undefined reference to `std::__1::cin'
/tmp/code.ll:(.text+0x1c): undefined reference to `std::__1::basic_istream<char, std::__1::char_traits<char> >::operator>>(int&)'
/tmp/code.ll:(.text+0x28): undefined reference to `std::__1::basic_istream<char, std::__1::char_traits<char> >::operator>>(int&)'
/tmp/code.ll:(.text+0x34): undefined reference to `std::__1::basic_istream<char, std::__1::char_traits<char> >::operator>>(int&)'
/tmp/code.ll:(.text+0x40): undefined reference to `std::__1::basic_istream<char, std::__1::char_traits<char> >::operator>>(int&)'
/tmp/code.ll:(.text+0x4c): undefined reference to `std::__1::basic_istream<char, std::__1::char_traits<char> >::operator>>(int&)'
/tmp/code.o:/tmp/code.ll:(.text+0x58): more undefined references to `std::__1::basic_istream<char, std::__1::char_traits<char> >::operator>>(int&)' follow
/tmp/code.o: In function `main':
/tmp/code.ll:(.text+0x134): undefined reference to `std::__1::cout'
/tmp/code.ll:(.text+0x139): undefined reference to `std::__1::basic_ostream<char, std::__1::char_traits<char> >::operator<<(int)'
collect2: error: ld returned 1 exit status
/bin/script: line 17: /tmp/code: not found

strace