Submission #4120

# Submission time Handle Problem Language Result Execution time Memory
4120 2013-09-01T16:52:47 Z pichulia 개미 (GA4_ant) C++
46 / 100
56 ms 1088 KB
#include<stdio.h>
long long int a,b,c;
int main()
{
	int t;
	scanf("%d",&t);
	while(t--)
	{
	scanf("%lld %lld %lld",&a,&b,&c);
	printf("%lld\n",(a+b)*(a+b)+c*c);
	}
}
# Verdict Execution time Memory Grader output
1 Correct 40 ms 1088 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 40 ms 1088 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 40 ms 1088 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 44 ms 1088 KB Output is correct
2 Correct 48 ms 1088 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 44 ms 1088 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Correct 56 ms 1088 KB Output is correct
2 Incorrect 48 ms 1088 KB Output isn't correct
3 Halted 0 ms 0 KB -