답안 #2309

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
2309 2013-07-21T02:22:13 Z swh0329 개미 (GA4_ant) C++
0 / 100
0 ms 1368 KB
#include <iostream>
#include <stdio.h>
#define Min(x,y) x<y?x:y
using namespace std;
int main()
{
    freopen("input.txt", "r", stdin);
    int t;
    double a, b, c, s, aa, bb, cc, m;
    s=0;
    scanf("%d", &t);
    while(t>0)
    {
        t--;
        m=999999;
        cin >> a >> b >> c;
        aa=a/2;
        bb=b/2;
        cc=c/2;
        m=a*a*b*b*c*c/2;
        //m=Min(m, a*a+2*bb*bb+c*c);
        //m=Min(m, aa*aa*2+b*b+c*c);
        //m=Min(m, a*a+b*b+cc*cc*2);
        cout << m << endl;
    }
    return 0;
}
# 결과 실행 시간 메모리 Grader output
1 Runtime error 0 ms 1368 KB close (syscall #3) was called by the program (disallowed syscall)
# 결과 실행 시간 메모리 Grader output
1 Runtime error 0 ms 1368 KB close (syscall #3) was called by the program (disallowed syscall)
# 결과 실행 시간 메모리 Grader output
1 Runtime error 0 ms 1368 KB close (syscall #3) was called by the program (disallowed syscall)
# 결과 실행 시간 메모리 Grader output
1 Runtime error 0 ms 1368 KB close (syscall #3) was called by the program (disallowed syscall)
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 0 ms 1368 KB close (syscall #3) was called by the program (disallowed syscall)
# 결과 실행 시간 메모리 Grader output
1 Runtime error 0 ms 1368 KB close (syscall #3) was called by the program (disallowed syscall)
2 Halted 0 ms 0 KB -