# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|
8908 | | bbqglgl | 개미 (GA4_ant) | C++98 | | 60 ms | 1088 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>
int main()
{
int t;
unsigned long long int a,b,c, out;
scanf("%d",&t);
while(t--)
{
scanf("%lld %lld %lld",&a,&b,&c);
out=a;
if(out<b)
out=b;
if(out<c)
out=c;
printf("%lld\n",a*a+b*b+c*c+(a*b*c/out)*2);
}
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... |