제출 #1437

#제출 시각아이디문제언어결과실행 시간메모리
1437gs13068개미 (GA4_ant)C++98
46 / 100
68 ms884 KiB
#include<cstdio> int main() { int tc,tcn; long long a,b,c,t; scanf("%d",&tcn); for(tc=0;tc<tcn;tc++) { scanf("%lld%lld%lld",&a,&b,&c); if(b>c) { t=b; b=c; c=t; } if(a>b) { t=a; a=b; b=t; } 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...