# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|
7833 | | gs13068 | 개미 (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<cstdio>
int main()
{
int tcn;
scanf("%d",&tcn);
while(tcn--)
{
long long a,b,c;
scanf("%lld%lld%lld",&a,&b,&c);
if(a>b)a^=b^=a^=b;
if(b>c)b^=c^=b^=c;
printf("%lld\n",(a+b)*(a+b)+c*c);
}
}
# | 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... |