Submission #17435

#TimeUsernameProblemLanguageResultExecution timeMemory
17435atomzeno개미 (GA4_ant)C++98
0 / 100
62 ms1084 KiB
#include<stdio.h> #include<algorithm> using namespace std; int main(){ int n; scanf("%d",&n); while(n--){ long long int a[3]; scanf("%d%d%d",&a[0],&a[1],&a[2]); sort(a,a+3); a[0]+=a[1]; printf("%lld",a[0]*a[0]+a[2]*a[2]); } }
#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...