# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
7060 |
2014-07-21T10:37:48 Z |
gs14004 |
개미 (GA4_ant) |
C++ |
|
56 ms |
1088 KB |
#include <cstdio>
long long a,b,c;
int main(){
int tc;
scanf("%d",&tc);
for (int i=0; i<tc; 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 |
48 ms |
1088 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
44 ms |
1088 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
44 ms |
1088 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
48 ms |
1088 KB |
Output is correct |
2 |
Correct |
48 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 |
56 ms |
1088 KB |
Output is correct |
2 |
Incorrect |
56 ms |
1088 KB |
Output isn't correct |
3 |
Halted |
0 ms |
0 KB |
- |