# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
8905 |
2014-09-24T05:15:55 Z |
bbqglgl |
개미 (GA4_ant) |
C++ |
|
60 ms |
1088 KB |
#include<stdio.h>
int main()
{
int t,a,b,c;
scanf("%d",&t);
while(t--)
{
scanf("%d %d %d",&a,&b,&c);
printf("%lld\n",((long long int)c*c)+((long long int)(a+b)*(a+b)));
}
return 0;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
40 ms |
1088 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
48 ms |
1088 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
48 ms |
1088 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
40 ms |
1088 KB |
Output is correct |
2 |
Correct |
40 ms |
1088 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
48 ms |
1088 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
60 ms |
1088 KB |
Output is correct |
2 |
Incorrect |
52 ms |
1088 KB |
Output isn't correct |
3 |
Halted |
0 ms |
0 KB |
- |