Submission #1930

# Submission time Handle Problem Language Result Execution time Memory
1930 2013-07-19T11:58:31 Z mh5664 개미 (GA4_ant) C++
13 / 100
54 ms 884 KB
#include <stdio.h>

int main ()
{
	int n;
	
	scanf ( "%d", &n);

	for (int i = 0; i < n; ++i)
	{
		long long int s1, s2, s3;
		scanf ("%lld %lld %lld", &s1, &s2, &s3);

		long int sol;

		sol = s1 * s1 + (s2 + s3) * (s2 +  s3);

	printf ("%lld\n", sol);
	}
	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 50 ms 884 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 47 ms 884 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 54 ms 884 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 47 ms 884 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Correct 50 ms 884 KB Output is correct
2 Incorrect 53 ms 884 KB Output isn't correct
3 Halted 0 ms 0 KB -