# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|
2487 | | jihoon | 개미 (GA4_ant) | C++98 | | 0 ms | 884 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#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 |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |