Submission #1435

# Submission time Handle Problem Language Result Execution time Memory
1435 2013-07-04T13:33:16 Z gs13068 개미 (GA4_ant) C++
22 / 100
67 ms 884 KB
#include<cstdio>

int main()
{
	int tc,tcn;
	int a,b,c,t;
	scanf("%d",&tcn);
	for(tc=0;tc<tcn;tc++)
	{
		scanf("%d%d%d",&a,&b,&c);\
		printf("%d\n",(a+b)*(a+b)+c*c);
	}
}
# Verdict Execution time Memory Grader output
1 Correct 49 ms 884 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 50 ms 884 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Correct 54 ms 884 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 48 ms 884 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 67 ms 884 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 62 ms 884 KB Output isn't correct
2 Halted 0 ms 0 KB -