Submission #1436

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

int main()
{
	int tc,tcn;
	long long a,b,c,t;
	scanf("%d",&tcn);
	for(tc=0;tc<tcn;tc++)
	{
		scanf("%lld%lld%lld",&a,&b,&c);\
		printf("%lld\n",(a+b)*(a+b)+c*c);
	}
}
# Verdict Execution time Memory Grader output
1 Correct 42 ms 884 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 55 ms 884 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 45 ms 884 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 50 ms 884 KB Output is correct
2 Correct 51 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 59 ms 884 KB Output is correct
2 Incorrect 66 ms 884 KB Output isn't correct
3 Halted 0 ms 0 KB -