Submission #7833

#TimeUsernameProblemLanguageResultExecution timeMemory
7833gs13068개미 (GA4_ant)C++98
100 / 100
60 ms1088 KiB
#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 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...