Submission #4969

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