Submission #2487

# Submission time Handle Problem Language Result Execution time Memory
2487 2013-07-22T13:13:34 Z jihoon 개미 (GA4_ant) C++
0 / 100
0 ms 884 KB
#include<stdio.h>
long long int a,b,c;
long long int save;
int main(){
    scanf("%lld %lld %lld",&a,&b,&c);
    if(a>=b&&a>=c){
        save=b*2;
        save=save*c;
    }else if(b>=a&&b>=c){
        save=a*2;
        save=save*c;
    }else{
        save=a*2;
        save=save*b;
    }
    a=a*a;
    b=b*b;
    c=c*c;
    save=save+a+b+c;
    printf("%lld",save);
    return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 884 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 884 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 884 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 884 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 884 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 884 KB Output isn't correct
2 Halted 0 ms 0 KB -