# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
2286 |
2013-07-21T01:16:19 Z |
pull601 |
개미 (GA4_ant) |
C |
|
56 ms |
784 KB |
#include <stdio.h>
#include <stdlib.h>
int main()
{
int n,i;
long long a,b,c,k;
scanf("%d",&n);
for(i=1;i<=n;i++){
scanf("%lld %lld %lld",&a,&b,&c);
k=(a+b)*(a+b)+c*c;
printf("%lld\n",k);
}
return 0;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
42 ms |
784 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
51 ms |
784 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
49 ms |
784 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
50 ms |
784 KB |
Output is correct |
2 |
Correct |
50 ms |
784 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
51 ms |
784 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
56 ms |
784 KB |
Output is correct |
2 |
Incorrect |
56 ms |
784 KB |
Output isn't correct |
3 |
Halted |
0 ms |
0 KB |
- |