Submission #2487

#TimeUsernameProblemLanguageResultExecution timeMemory
2487jihoon개미 (GA4_ant)C++98
0 / 100
0 ms884 KiB
#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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...