Submission #4121

#TimeUsernameProblemLanguageResultExecution timeMemory
4121pichulia개미 (GA4_ant)C++98
100 / 100
56 ms1088 KiB
#include<stdio.h> long long int a,b,c; int main() { int t; scanf("%d",&t); while(t--) { scanf("%lld %lld %lld",&a,&b,&c); if(a>c)a^=c^=a^=c; if(b>c)b^=c^=b^=c; printf("%lld\n",(a+b)*(a+b)+c*c); } }
#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...