제출 #2264

#제출 시각아이디문제언어결과실행 시간메모리
2264zyslee개미 (GA4_ant)C++98
13 / 100
50 ms884 KiB
#include<stdio.h> int main() { long long int n, a, b, c, i; scanf("%lld", &n); for(i=1;i<=n;i++){ scanf("%lld %lld %lld", &a, &b, &c); if(a>b && a>c) printf("%lld\n", a*a+(b+c)*(b+c)); if(b>a && b>c) printf("%lld\n", b*b+(a+c)*(a+c)); if(c>a && c>b) printf("%lld\n", c*c+(a+b)*(a+b)); } 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...