# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
2262 |
2013-07-21T00:30:47 Z |
6590f1 |
개미 (GA4_ant) |
C |
|
0 ms |
784 KB |
#include<stdio.h>
int main()
{
int a,b,c,k;
scanf("%d %d %d",&a,&b,&c);
k=(a+b)*(a+b)+(c*c);
if((a+c)*(a+c)+(b*b)<k)k=(a+c)*(a+c)+(b*b);
if((b+c)*(b+c)+(a*a)<k)k=(b+c)*(b+c)+(a*a);
printf("%d",k);
return 0;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
784 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
784 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
784 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
784 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
784 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
784 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |