# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
2220 |
2013-07-20T09:56:14 Z |
ksmin1114 |
개미 (GA4_ant) |
C++ |
|
58 ms |
884 KB |
#include<stdio.h>
int main(){
long long int i,n,a,b,c;
scanf("%lld",&n);
for(i=0;i<n;i++){
scanf("%lld %lld %lld",&a,&b,&c);
printf("%lld\n",(a+b)*(a+b)+c*c);
}
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
44 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 |
49 ms |
884 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
51 ms |
884 KB |
Output is correct |
2 |
Correct |
50 ms |
884 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
53 ms |
884 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
58 ms |
884 KB |
Output is correct |
2 |
Incorrect |
54 ms |
884 KB |
Output isn't correct |
3 |
Halted |
0 ms |
0 KB |
- |