# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
17435 |
2015-12-11T14:10:52 Z |
atomzeno |
개미 (GA4_ant) |
C++ |
|
62 ms |
1084 KB |
#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 time |
Memory |
Grader output |
1 |
Incorrect |
62 ms |
1084 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
44 ms |
1084 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
49 ms |
1084 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
52 ms |
1084 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
47 ms |
1084 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |