Submission #17433

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