# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
2147 |
2013-07-20T05:30:58 Z |
jwvg0425 |
개미 (GA4_ant) |
C++ |
|
59 ms |
884 KB |
#include<stdio.h>
int main()
{
int t,i;
long long int a,b,c,d;
scanf("%d",&t);
for(i=0;i<t;i++)
{
scanf("%lld %lld %lld",&a,&b,&c);
d=a+b;
d*=d;
c*=c;
printf("%lld\n",c+d);
}
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
44 ms |
884 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
49 ms |
884 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
46 ms |
884 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
54 ms |
884 KB |
Output is correct |
2 |
Correct |
50 ms |
884 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
52 ms |
884 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
57 ms |
884 KB |
Output is correct |
2 |
Incorrect |
59 ms |
884 KB |
Output isn't correct |
3 |
Halted |
0 ms |
0 KB |
- |