#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 /*<<< orphan*/ printf(char *, double);
int /*<<< orphan*/ scanf(char *, ...);
double sqrt(double);
int main() {
  long long int t;
  long int X, Y, Z, x, y, z;
  double a, b, c, d;
  double volume;
  int U, V, W, u, v, w;
  scanf("%lld", &t);
  while (t != 0) {
    scanf("%d", &w);
    scanf("%d", &v);
    scanf("%d", &u);
    scanf("%d", &U);
    scanf("%d", &V);
    scanf("%d", &W);
    X = (w - U + v) * (U + v + w);
    x = (U - v + w) * (v - w + U);
    Y = (u - V + w) * (V + w + u);
    y = (V - w + u) * (w - u + V);
    Z = (v - W + u) * (W + u + v);
    z = (W - u + v) * (u - v + W);
    a = sqrt(x) * sqrt(Y) * sqrt(Z);
    b = sqrt(y) * sqrt(Z) * sqrt(X);
    c = sqrt(z) * sqrt(X) * sqrt(Y);
    d = sqrt(x) * sqrt(y) * sqrt(z);
    volume = sqrt((-a + b + c + d));
    volume = volume * sqrt((a - b + c + d));
    volume = volume * sqrt((a + b - c + d));
    volume = volume * sqrt((a + b + c - d));
    volume = volume / (192.0f * u * v * w);
    printf("%.4lf\n", volume);
    t--;
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xe0,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xebb(%rip),%rdi
lea    -0x10(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
cmpq   $0x0,-0x10(%rbp)
je     14f7 <main+0x3c7>
lea    0xea3(%rip),%rdi
lea    -0x80(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xe91(%rip),%rdi
lea    -0x7c(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xe7f(%rip),%rdi
lea    -0x78(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xe6d(%rip),%rdi
lea    -0x6c(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xe5b(%rip),%rdi
lea    -0x70(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xe49(%rip),%rdi
lea    -0x74(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
mov    -0x80(%rbp),%eax
sub    -0x6c(%rbp),%eax
add    -0x7c(%rbp),%eax
mov    -0x6c(%rbp),%ecx
add    -0x7c(%rbp),%ecx
add    -0x80(%rbp),%ecx
imul   %ecx,%eax
cltq
mov    %rax,-0x18(%rbp)
mov    -0x6c(%rbp),%eax
sub    -0x7c(%rbp),%eax
add    -0x80(%rbp),%eax
mov    -0x7c(%rbp),%ecx
sub    -0x80(%rbp),%ecx
add    -0x6c(%rbp),%ecx
imul   %ecx,%eax
cltq
mov    %rax,-0x30(%rbp)
mov    -0x78(%rbp),%eax
sub    -0x70(%rbp),%eax
add    -0x80(%rbp),%eax
mov    -0x70(%rbp),%ecx
add    -0x80(%rbp),%ecx
add    -0x78(%rbp),%ecx
imul   %ecx,%eax
cltq
mov    %rax,-0x20(%rbp)
mov    -0x70(%rbp),%eax
sub    -0x80(%rbp),%eax
add    -0x78(%rbp),%eax
mov    -0x80(%rbp),%ecx
sub    -0x78(%rbp),%ecx
add    -0x70(%rbp),%ecx
imul   %ecx,%eax
cltq
mov    %rax,-0x38(%rbp)
mov    -0x7c(%rbp),%eax
sub    -0x74(%rbp),%eax
add    -0x78(%rbp),%eax
mov    -0x74(%rbp),%ecx
add    -0x78(%rbp),%ecx
add    -0x7c(%rbp),%ecx
imul   %ecx,%eax
cltq
mov    %rax,-0x28(%rbp)
mov    -0x74(%rbp),%eax
sub    -0x78(%rbp),%eax
add    -0x7c(%rbp),%eax
mov    -0x78(%rbp),%ecx
sub    -0x7c(%rbp),%ecx
add    -0x74(%rbp),%ecx
imul   %ecx,%eax
cltq
mov    %rax,-0x40(%rbp)
cvtsi2sdq -0x30(%rbp),%xmm0
call   1050 <sqrt@plt>
movsd  %xmm0,-0xd8(%rbp)
ff
cvtsi2sdq -0x20(%rbp),%xmm0
call   1050 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0xd8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
cvtsi2sdq -0x28(%rbp),%xmm0
call   1050 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0xd0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
cvtsi2sdq -0x38(%rbp),%xmm0
call   1050 <sqrt@plt>
movsd  %xmm0,-0xc8(%rbp)
ff
cvtsi2sdq -0x28(%rbp),%xmm0
call   1050 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0xc8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
cvtsi2sdq -0x18(%rbp),%xmm0
call   1050 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0xc0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
cvtsi2sdq -0x40(%rbp),%xmm0
call   1050 <sqrt@plt>
movsd  %xmm0,-0xb8(%rbp)
ff
cvtsi2sdq -0x18(%rbp),%xmm0
call   1050 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0xb8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
cvtsi2sdq -0x20(%rbp),%xmm0
call   1050 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0xb0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
cvtsi2sdq -0x30(%rbp),%xmm0
call   1050 <sqrt@plt>
movsd  %xmm0,-0xa8(%rbp)
ff
cvtsi2sdq -0x38(%rbp),%xmm0
call   1050 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0xa8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
cvtsi2sdq -0x40(%rbp),%xmm0
call   1050 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0xa0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x48(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
addsd  -0x50(%rbp),%xmm0
addsd  -0x58(%rbp),%xmm0
addsd  -0x60(%rbp),%xmm0
call   1050 <sqrt@plt>
movsd  %xmm0,-0x68(%rbp)
movsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
subsd  -0x50(%rbp),%xmm0
addsd  -0x58(%rbp),%xmm0
addsd  -0x60(%rbp),%xmm0
call   1050 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0x98(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
addsd  -0x50(%rbp),%xmm0
subsd  -0x58(%rbp),%xmm0
addsd  -0x60(%rbp),%xmm0
call   1050 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0x90(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
addsd  -0x50(%rbp),%xmm0
addsd  -0x58(%rbp),%xmm0
subsd  -0x60(%rbp),%xmm0
call   1050 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0x88(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x68(%rbp),%xmm0
cvtsi2ssl -0x78(%rbp),%xmm2
movss  0xb4e(%rip),%xmm1
mulss  %xmm2,%xmm1
cvtsi2ssl -0x7c(%rbp),%xmm2
mulss  %xmm2,%xmm1
cvtsi2ssl -0x80(%rbp),%xmm2
mulss  %xmm2,%xmm1
cvtss2sd %xmm1,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x68(%rbp),%xmm0
lea    0xb2b(%rip),%rdi
call   1030 <printf@plt>
mov    -0x10(%rbp),%rax
add    $0xffffffffffffffff,%rax
mov    %rax,-0x10(%rbp)
jmp    1154 <main+0x24>
xor    %eax,%eax
add    $0xe0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x88,%rsp
lea    0xec8(%rip),%rdi
lea    0x80(%rsp),%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
cmpq   $0x0,0x80(%rsp)
jne    1202 <main+0xd2>
xor    %eax,%eax
add    $0x88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
nopw   0x0(%rax,%rax,1)
movapd %xmm1,%xmm0
movsd  %xmm2,0x18(%rsp)
call   1050 <sqrt@plt>
movsd  0x18(%rsp),%xmm2
movsd  0x20(%rsp),%xmm3
movsd  0x8(%rsp),%xmm1
mulsd  %xmm1,%xmm3
mulsd  %xmm2,%xmm3
xorps  %xmm1,%xmm1
cvtsi2ssl 0x5c(%rsp),%xmm1
mulsd  %xmm0,%xmm3
xorps  %xmm0,%xmm0
cvtsi2ssl 0x58(%rsp),%xmm0
mulss  0xe39(%rip),%xmm1
xorps  %xmm2,%xmm2
cvtsi2ssl 0x54(%rsp),%xmm2
mulss  %xmm1,%xmm0
mulss  %xmm0,%xmm2
xorps  %xmm0,%xmm0
cvtss2sd %xmm2,%xmm0
divsd  %xmm0,%xmm3
lea    0xe2e(%rip),%rdi
movapd %xmm3,%xmm0
call   1030 <printf@plt>
addq   $0xffffffffffffffff,0x80(%rsp)
je     1166 <main+0x36>
lea    0xe0c(%rip),%rbx
mov    %rbx,%rdi
lea    0x54(%rsp),%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
mov    %rbx,%rdi
lea    0x58(%rsp),%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
mov    %rbx,%rdi
lea    0x5c(%rsp),%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
mov    %rbx,%rdi
lea    0x74(%rsp),%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
mov    %rbx,%rdi
lea    0x70(%rsp),%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
mov    %rbx,%rdi
lea    0x6c(%rsp),%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
mov    0x54(%rsp),%esi
mov    0x74(%rsp),%r8d
mov    0x58(%rsp),%edi
lea    (%r8,%rsi,1),%eax
mov    %eax,(%rsp)
sub    %edi,%eax
mov    %r8d,%ecx
sub    %esi,%ecx
add    %edi,%ecx
imul   %eax,%ecx
mov    0x5c(%rsp),%edx
mov    0x70(%rsp),%r13d
lea    (%rdx,%rsi,1),%ebp
mov    %ebp,%eax
sub    %r13d,%eax
add    %r13d,%ebp
imul   %eax,%ebp
mov    %edx,%r14d
sub    %esi,%r14d
mov    %rsi,0x20(%rsp)
mov    %esi,%r15d
sub    %edx,%r15d
mov    0x6c(%rsp),%eax
mov    %rdx,0x28(%rsp)
lea    (%rdx,%rdi,1),%ebx
mov    %ebx,%r12d
sub    %eax,%r12d
add    %eax,%ebx
xorps  %xmm0,%xmm0
cvtsi2sd %ecx,%xmm0
ucomisd 0xd3a(%rip),%xmm0
movsd  %xmm0,0x10(%rsp)
mov    %rdi,0x40(%rsp)
mov    %eax,0x38(%rsp)
mov    %r8,0x8(%rsp)
jb     12f0 <main+0x1c0>
sqrtsd %xmm0,%xmm0
jmp    12f5 <main+0x1c5>
nopw   0x0(%rax,%rax,1)
call   1050 <sqrt@plt>
add    %r13d,%r14d
add    %r13d,%r15d
imul   %ebx,%r12d
cvtsi2sd %ebp,%xmm1
ucomisd 0xcfd(%rip),%xmm1
movsd  %xmm0,0x18(%rsp)
movsd  %xmm1,0x48(%rsp)
jb     1330 <main+0x200>
xorps  %xmm0,%xmm0
sqrtsd %xmm1,%xmm0
jmp    1339 <main+0x209>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movapd %xmm1,%xmm0
call   1050 <sqrt@plt>
mov    (%rsp),%r13d
mov    0x20(%rsp),%rbx
mov    0x8(%rsp),%rax
sub    %eax,%ebx
imul   %r15d,%r14d
xorps  %xmm1,%xmm1
cvtsi2sd %r12d,%xmm1
ucomisd 0xcab(%rip),%xmm1
movsd  %xmm0,0x20(%rsp)
movsd  %xmm1,(%rsp)
jb     1380 <main+0x250>
xorps  %xmm0,%xmm0
sqrtsd %xmm1,%xmm0
jmp    1389 <main+0x259>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movapd %xmm1,%xmm0
call   1050 <sqrt@plt>
mov    0x28(%rsp),%rbp
mov    0x40(%rsp),%rax
mov    %eax,%r15d
sub    %ebp,%r15d
sub    %eax,%ebp
add    %eax,%ebx
add    %eax,%r13d
xorps  %xmm1,%xmm1
cvtsi2sd %r14d,%xmm1
ucomisd 0xc58(%rip),%xmm1
movsd  %xmm0,0x8(%rsp)
movsd  %xmm1,0x60(%rsp)
jb     13d0 <main+0x2a0>
xorps  %xmm0,%xmm0
sqrtsd %xmm1,%xmm0
jmp    13d9 <main+0x2a9>
nopw   0x0(%rax,%rax,1)
movapd %xmm1,%xmm0
call   1050 <sqrt@plt>
mov    0x38(%rsp),%eax
movsd  (%rsp),%xmm1
add    %eax,%r15d
add    %eax,%ebp
imul   %ebx,%r13d
ucomisd 0xc15(%rip),%xmm1
movsd  %xmm0,0x28(%rsp)
jb     1410 <main+0x2e0>
xorps  %xmm0,%xmm0
sqrtsd %xmm1,%xmm0
jmp    1419 <main+0x2e9>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movapd %xmm1,%xmm0
call   1050 <sqrt@plt>
imul   %ebp,%r15d
xorps  %xmm1,%xmm1
cvtsi2sd %r13d,%xmm1
ucomisd 0xbdb(%rip),%xmm1
movsd  %xmm0,0x40(%rsp)
movsd  %xmm1,0x30(%rsp)
jb     1450 <main+0x320>
xorps  %xmm0,%xmm0
sqrtsd %xmm1,%xmm0
jmp    1459 <main+0x329>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movapd %xmm1,%xmm0
call   1050 <sqrt@plt>
xorps  %xmm1,%xmm1
cvtsi2sd %r15d,%xmm1
ucomisd 0xb9f(%rip),%xmm1
movsd  %xmm0,0x38(%rsp)
movsd  %xmm1,0x78(%rsp)
jb     1480 <main+0x350>
xorps  %xmm0,%xmm0
sqrtsd %xmm1,%xmm0
jmp    1489 <main+0x359>
movapd %xmm1,%xmm0
call   1050 <sqrt@plt>
movsd  0x30(%rsp),%xmm1
ucomisd 0xb71(%rip),%xmm1
movsd  %xmm0,(%rsp)
jb     14b0 <main+0x380>
sqrtsd %xmm1,%xmm1
jmp    14bd <main+0x38d>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movapd %xmm1,%xmm0
call   1050 <sqrt@plt>
movapd %xmm0,%xmm1
movsd  0x48(%rsp),%xmm0
ucomisd 0xb3d(%rip),%xmm0
movsd  %xmm1,0x30(%rsp)
jb     14e0 <main+0x3b0>
xorps  %xmm1,%xmm1
sqrtsd %xmm0,%xmm1
jmp    14e9 <main+0x3b9>
nopl   0x0(%rax)
call   1050 <sqrt@plt>
movapd %xmm0,%xmm1
movsd  0x10(%rsp),%xmm0
ucomisd 0xb11(%rip),%xmm0
movsd  %xmm1,0x48(%rsp)
jb     1510 <main+0x3e0>
xorps  %xmm1,%xmm1
sqrtsd %xmm0,%xmm1
jmp    1519 <main+0x3e9>
nopl   0x0(%rax,%rax,1)
call   1050 <sqrt@plt>
movapd %xmm0,%xmm1
movsd  0x60(%rsp),%xmm0
ucomisd 0xae1(%rip),%xmm0
movsd  %xmm1,0x10(%rsp)
jb     1540 <main+0x410>
sqrtsd %xmm0,%xmm11
jmp    154a <main+0x41a>
cs nopw 0x0(%rax,%rax,1)
call   1050 <sqrt@plt>
movapd %xmm0,%xmm11
movsd  0x78(%rsp),%xmm0
ucomisd 0xab0(%rip),%xmm0
jb     1560 <main+0x430>
sqrtsd %xmm0,%xmm0
jmp    1573 <main+0x443>
movsd  %xmm11,0x60(%rsp)
call   1050 <sqrt@plt>
movsd  0x60(%rsp),%xmm11
movsd  0x18(%rsp),%xmm1
movsd  0x28(%rsp),%xmm2
movsd  0x20(%rsp),%xmm3
movsd  0x8(%rsp),%xmm4
movsd  (%rsp),%xmm5
movsd  0x40(%rsp),%xmm6
movsd  0x10(%rsp),%xmm7
movsd  0x38(%rsp),%xmm8
movsd  0x30(%rsp),%xmm9
movsd  0x48(%rsp),%xmm10
mulsd  %xmm3,%xmm1
mulsd  %xmm4,%xmm1
mulsd  %xmm6,%xmm2
mulsd  %xmm8,%xmm2
mulsd  %xmm9,%xmm5
mulsd  %xmm10,%xmm5
mulsd  %xmm11,%xmm7
mulsd  %xmm0,%xmm7
movapd %xmm2,%xmm0
subsd  %xmm1,%xmm0
addsd  %xmm5,%xmm0
addsd  %xmm7,%xmm0
ucomisd 0xa1b(%rip),%xmm0
movsd  %xmm1,0x18(%rsp)
movsd  %xmm2,0x28(%rsp)
movsd  %xmm5,(%rsp)
movsd  %xmm7,0x10(%rsp)
jb     1610 <main+0x4e0>
xorps  %xmm3,%xmm3
sqrtsd %xmm0,%xmm3
jmp    1630 <main+0x500>
nop
call   1050 <sqrt@plt>
movsd  0x10(%rsp),%xmm7
movsd  (%rsp),%xmm5
movsd  0x28(%rsp),%xmm2
movsd  0x18(%rsp),%xmm1
movapd %xmm0,%xmm3
movapd %xmm1,%xmm0
subsd  %xmm2,%xmm0
addsd  %xmm5,%xmm0
addsd  %xmm7,%xmm0
ucomisd 0x9c0(%rip),%xmm0
movsd  %xmm3,0x20(%rsp)
jb     1660 <main+0x530>
sqrtsd %xmm0,%xmm0
jmp    167c <main+0x54c>
cs nopw 0x0(%rax,%rax,1)
call   1050 <sqrt@plt>
movsd  0x10(%rsp),%xmm7
movsd  (%rsp),%xmm5
movsd  0x28(%rsp),%xmm2
movsd  0x18(%rsp),%xmm1
movsd  %xmm0,0x8(%rsp)
addsd  %xmm2,%xmm1
movapd %xmm1,%xmm0
subsd  %xmm5,%xmm0
addsd  %xmm7,%xmm0
ucomisd 0x96e(%rip),%xmm0
jb     16b0 <main+0x580>
xorps  %xmm2,%xmm2
sqrtsd %xmm0,%xmm2
jmp    16d0 <main+0x5a0>
cs nopw 0x0(%rax,%rax,1)
nop
movsd  %xmm1,0x18(%rsp)
call   1050 <sqrt@plt>
movsd  0x10(%rsp),%xmm7
movsd  (%rsp),%xmm5
movsd  0x18(%rsp),%xmm1
movapd %xmm0,%xmm2
addsd  %xmm5,%xmm1
subsd  %xmm7,%xmm1
ucomisd 0x928(%rip),%xmm1
jb     1180 <main+0x50>
xorps  %xmm0,%xmm0
sqrtsd %xmm1,%xmm0
jmp    1195 <main+0x65>

LLVM IR (-O0):
@.str = [5 x i8] c"%lld\00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [7 x i8] c"%.4lf\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i64
%3 = alloca i64
%4 = alloca i64
%5 = alloca i64
%6 = alloca i64
%7 = alloca i64
%8 = alloca i64
%9 = alloca double
%10 = alloca double
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
store i32 0, i32* %1
%20 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i64* %2)
br label %21
21: ; preds = %24, %0
%22 = load i64, i64* %2
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %202
24: ; preds = %21
%25 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %19)
%26 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %18)
%27 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %17)
%28 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %14)
%29 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %15)
%30 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %16)
%31 = load i32, i32* %19
%32 = load i32, i32* %14
%33 = sub nsw i32 %31, %32
%34 = load i32, i32* %18
%35 = add nsw i32 %33, %34
%36 = load i32, i32* %14
%37 = load i32, i32* %18
%38 = add nsw i32 %36, %37
%39 = load i32, i32* %19
%40 = add nsw i32 %38, %39
%41 = mul nsw i32 %35, %40
%42 = sext i32 %41 to i64
store i64 %42, i64* %3
%43 = load i32, i32* %14
%44 = load i32, i32* %18
%45 = sub nsw i32 %43, %44
%46 = load i32, i32* %19
%47 = add nsw i32 %45, %46
%48 = load i32, i32* %18
%49 = load i32, i32* %19
%50 = sub nsw i32 %48, %49
%51 = load i32, i32* %14
%52 = add nsw i32 %50, %51
%53 = mul nsw i32 %47, %52
%54 = sext i32 %53 to i64
store i64 %54, i64* %6
%55 = load i32, i32* %17
%56 = load i32, i32* %15
%57 = sub nsw i32 %55, %56
%58 = load i32, i32* %19
%59 = add nsw i32 %57, %58
%60 = load i32, i32* %15
%61 = load i32, i32* %19
%62 = add nsw i32 %60, %61
%63 = load i32, i32* %17
%64 = add nsw i32 %62, %63
%65 = mul nsw i32 %59, %64
%66 = sext i32 %65 to i64
store i64 %66, i64* %4
%67 = load i32, i32* %15
%68 = load i32, i32* %19
%69 = sub nsw i32 %67, %68
%70 = load i32, i32* %17
%71 = add nsw i32 %69, %70
%72 = load i32, i32* %19
%73 = load i32, i32* %17
%74 = sub nsw i32 %72, %73
%75 = load i32, i32* %15
%76 = add nsw i32 %74, %75
%77 = mul nsw i32 %71, %76
%78 = sext i32 %77 to i64
store i64 %78, i64* %7
%79 = load i32, i32* %18
%80 = load i32, i32* %16
%81 = sub nsw i32 %79, %80
%82 = load i32, i32* %17
%83 = add nsw i32 %81, %82
%84 = load i32, i32* %16
%85 = load i32, i32* %17
%86 = add nsw i32 %84, %85
%87 = load i32, i32* %18
%88 = add nsw i32 %86, %87
%89 = mul nsw i32 %83, %88
%90 = sext i32 %89 to i64
store i64 %90, i64* %5
%91 = load i32, i32* %16
%92 = load i32, i32* %17
%93 = sub nsw i32 %91, %92
%94 = load i32, i32* %18
%95 = add nsw i32 %93, %94
%96 = load i32, i32* %17
%97 = load i32, i32* %18
%98 = sub nsw i32 %96, %97
%99 = load i32, i32* %16
%100 = add nsw i32 %98, %99
%101 = mul nsw i32 %95, %100
%102 = sext i32 %101 to i64
store i64 %102, i64* %8
%103 = load i64, i64* %6
%104 = sitofp i64 %103 to double
%105 = call double @sqrt(double %104)
%106 = load i64, i64* %4
%107 = sitofp i64 %106 to double
%108 = call double @sqrt(double %107)
%109 = fmul double %105, %108
%110 = load i64, i64* %5
%111 = sitofp i64 %110 to double
%112 = call double @sqrt(double %111)
%113 = fmul double %109, %112
store double %113, double* %9
%114 = load i64, i64* %7
%115 = sitofp i64 %114 to double
%116 = call double @sqrt(double %115)
%117 = load i64, i64* %5
%118 = sitofp i64 %117 to double
%119 = call double @sqrt(double %118)
%120 = fmul double %116, %119
%121 = load i64, i64* %3
%122 = sitofp i64 %121 to double
%123 = call double @sqrt(double %122)
%124 = fmul double %120, %123
store double %124, double* %10
%125 = load i64, i64* %8
%126 = sitofp i64 %125 to double
%127 = call double @sqrt(double %126)
%128 = load i64, i64* %3
%129 = sitofp i64 %128 to double
%130 = call double @sqrt(double %129)
%131 = fmul double %127, %130
%132 = load i64, i64* %4
%133 = sitofp i64 %132 to double
%134 = call double @sqrt(double %133)
%135 = fmul double %131, %134
store double %135, double* %11
%136 = load i64, i64* %6
%137 = sitofp i64 %136 to double
%138 = call double @sqrt(double %137)
%139 = load i64, i64* %7
%140 = sitofp i64 %139 to double
%141 = call double @sqrt(double %140)
%142 = fmul double %138, %141
%143 = load i64, i64* %8
%144 = sitofp i64 %143 to double
%145 = call double @sqrt(double %144)
%146 = fmul double %142, %145
store double %146, double* %12
%147 = load double, double* %9
%148 = fneg double %147
%149 = load double, double* %10
%150 = fadd double %148, %149
%151 = load double, double* %11
%152 = fadd double %150, %151
%153 = load double, double* %12
%154 = fadd double %152, %153
%155 = call double @sqrt(double %154)
store double %155, double* %13
%156 = load double, double* %13
%157 = load double, double* %9
%158 = load double, double* %10
%159 = fsub double %157, %158
%160 = load double, double* %11
%161 = fadd double %159, %160
%162 = load double, double* %12
%163 = fadd double %161, %162
%164 = call double @sqrt(double %163)
%165 = fmul double %156, %164
store double %165, double* %13
%166 = load double, double* %13
%167 = load double, double* %9
%168 = load double, double* %10
%169 = fadd double %167, %168
%170 = load double, double* %11
%171 = fsub double %169, %170
%172 = load double, double* %12
%173 = fadd double %171, %172
%174 = call double @sqrt(double %173)
%175 = fmul double %166, %174
store double %175, double* %13
%176 = load double, double* %13
%177 = load double, double* %9
%178 = load double, double* %10
%179 = fadd double %177, %178
%180 = load double, double* %11
%181 = fadd double %179, %180
%182 = load double, double* %12
%183 = fsub double %181, %182
%184 = call double @sqrt(double %183)
%185 = fmul double %176, %184
store double %185, double* %13
%186 = load double, double* %13
%187 = load i32, i32* %17
%188 = sitofp i32 %187 to float
%189 = fmul float 1.920000e+02, %188
%190 = load i32, i32* %18
%191 = sitofp i32 %190 to float
%192 = fmul float %189, %191
%193 = load i32, i32* %19
%194 = sitofp i32 %193 to float
%195 = fmul float %192, %194
%196 = fpext float %195 to double
%197 = fdiv double %186, %196
store double %197, double* %13
%198 = load double, double* %13
%199 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), double %198)
%200 = load i64, i64* %2
%201 = add nsw i64 %200, -1
store i64 %201, i64* %2
br label %21
202: ; preds = %21
ret i32 0
}

LLVM IR (-O2):
@.str = [5 x i8] c"%lld\00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [7 x i8] c"%.4lf\0A\00"
define i32 @main() {
%1 = alloca i64
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = bitcast i64* %1 to i8*
%9 = bitcast i32* %2 to i8*
%10 = bitcast i32* %3 to i8*
%11 = bitcast i32* %4 to i8*
%12 = bitcast i32* %5 to i8*
%13 = bitcast i32* %6 to i8*
%14 = bitcast i32* %7 to i8*
%15 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i64* %1)
%16 = load i64, i64* %1
%17 = icmp eq i64 %16, 0
br i1 %17, label %117, label %18
18: ; preds = %0, %18
%19 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %7)
%20 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %6)
%21 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %5)
%22 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%23 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %3)
%24 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %4)
%25 = load i32, i32* %7
%26 = load i32, i32* %2
%27 = sub i32 %25, %26
%28 = load i32, i32* %6
%29 = add nsw i32 %27, %28
%30 = add i32 %26, %25
%31 = add i32 %30, %28
%32 = mul nsw i32 %31, %29
%33 = sub i32 %30, %28
%34 = sub i32 %26, %25
%35 = add i32 %34, %28
%36 = mul nsw i32 %33, %35
%37 = load i32, i32* %5
%38 = load i32, i32* %3
%39 = add i32 %37, %25
%40 = sub i32 %39, %38
%41 = add i32 %39, %38
%42 = mul nsw i32 %40, %41
%43 = sub i32 %37, %25
%44 = add i32 %43, %38
%45 = sub i32 %25, %37
%46 = add nsw i32 %45, %38
%47 = mul nsw i32 %44, %46
%48 = load i32, i32* %4
%49 = add i32 %37, %28
%50 = sub i32 %49, %48
%51 = add i32 %49, %48
%52 = mul nsw i32 %50, %51
%53 = sub i32 %28, %37
%54 = add i32 %53, %48
%55 = sub i32 %37, %28
%56 = add nsw i32 %55, %48
%57 = mul nsw i32 %54, %56
%58 = sitofp i32 %36 to double
%59 = call double @sqrt(double %58)
%60 = sitofp i32 %42 to double
%61 = call double @sqrt(double %60)
%62 = fmul double %59, %61
%63 = sitofp i32 %52 to double
%64 = call double @sqrt(double %63)
%65 = fmul double %62, %64
%66 = sitofp i32 %47 to double
%67 = call double @sqrt(double %66)
%68 = call double @sqrt(double %63)
%69 = fmul double %67, %68
%70 = sitofp i32 %32 to double
%71 = call double @sqrt(double %70)
%72 = fmul double %69, %71
%73 = sitofp i32 %57 to double
%74 = call double @sqrt(double %73)
%75 = call double @sqrt(double %70)
%76 = fmul double %74, %75
%77 = call double @sqrt(double %60)
%78 = fmul double %76, %77
%79 = call double @sqrt(double %58)
%80 = call double @sqrt(double %66)
%81 = fmul double %79, %80
%82 = call double @sqrt(double %73)
%83 = fmul double %81, %82
%84 = fsub double %72, %65
%85 = fadd double %84, %78
%86 = fadd double %85, %83
%87 = call double @sqrt(double %86)
%88 = fsub double %65, %72
%89 = fadd double %88, %78
%90 = fadd double %89, %83
%91 = call double @sqrt(double %90)
%92 = fmul double %87, %91
%93 = fadd double %65, %72
%94 = fsub double %93, %78
%95 = fadd double %94, %83
%96 = call double @sqrt(double %95)
%97 = fmul double %92, %96
%98 = fadd double %93, %78
%99 = fsub double %98, %83
%100 = call double @sqrt(double %99)
%101 = fmul double %97, %100
%102 = load i32, i32* %5
%103 = sitofp i32 %102 to float
%104 = fmul float %103, 1.920000e+02
%105 = load i32, i32* %6
%106 = sitofp i32 %105 to float
%107 = fmul float %104, %106
%108 = load i32, i32* %7
%109 = sitofp i32 %108 to float
%110 = fmul float %107, %109
%111 = fpext float %110 to double
%112 = fdiv double %101, %111
%113 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), double %112)
%114 = load i64, i64* %1
%115 = add nsw i64 %114, -1
store i64 %115, i64* %1
%116 = icmp eq i64 %115, 0
br i1 %116, label %117, label %18
117: ; preds = %18, %0
ret i32 0
}