# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
2480 |
2013-07-22T12:02:06 Z |
caffeinism7 |
개미 (GA4_ant) |
C++ |
|
64 ms |
884 KB |
#include <stdio.h>
int main(void){
int n;
long long a, b, c;
scanf("%d", &n);
int i;
for(i=1; i<=n; i++){
scanf("%lld %lld %lld", &a, &b, &c);
printf("%lld\n", ((b + c) * (b + c)) + (a * a));
}
return 0;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
44 ms |
884 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
47 ms |
884 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
49 ms |
884 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
61 ms |
884 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
64 ms |
884 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
47 ms |
884 KB |
Output is correct |
2 |
Incorrect |
59 ms |
884 KB |
Output isn't correct |
3 |
Halted |
0 ms |
0 KB |
- |