Submission #2479

# Submission time Handle Problem Language Result Execution time Memory
2479 2013-07-22T12:00:35 Z caffeinism7 개미 (GA4_ant) C++
6 / 100
64 ms 884 KB
#include <stdio.h>

int main(void){
	int n, a, b, c;

	scanf("%d", &n);

	int i;

	for(i=1; i<=n; i++){
		scanf("%d %d %d", &a, &b, &c);

		printf("%d\n", ((b + c) * (b + c)) + (a * a));
	}


	return 0;
}
# Verdict Execution time Memory Grader output
1 Correct 40 ms 884 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 60 ms 884 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 56 ms 884 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 51 ms 884 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 54 ms 884 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 64 ms 884 KB Output isn't correct
2 Halted 0 ms 0 KB -