Submission #4968

# Submission time Handle Problem Language Result Execution time Memory
4968 2014-01-23T16:20:44 Z lingxiang 개미 (GA4_ant) C++
0 / 100
0 ms 1088 KB
#include<stdio.h>

int main()
{
  long long int a,b,c;
  scanf("%lld %lld %lld",&a,&b,&c);
  if(a>b) a^=b^=a^=b;
  if(b>c) b^=c^=b^=c;
  printf("%lld",(long long int)(a+b)*(a+b)+c*c);
  return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 1088 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 1088 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 1088 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 1088 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 1088 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 1088 KB Output isn't correct
2 Halted 0 ms 0 KB -