Submission #2215

# Submission time Handle Problem Language Result Execution time Memory
2215 2013-07-20T09:54:03 Z ksmin1114 개미 (GA4_ant) C++
6 / 100
60 ms 884 KB
#include<stdio.h>
int main(){
	int i,n,a,b,c;
	scanf("%d",&n);
	for(i=0;i<n;i++){
		scanf("%d %d %d",&a,&b,&c);
		printf("%d\n",(c+b)*(c+b)+a*a);
	}
}
# Verdict Execution time Memory Grader output
1 Correct 44 ms 884 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 49 ms 884 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 49 ms 884 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 50 ms 884 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 52 ms 884 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 60 ms 884 KB Output isn't correct
2 Halted 0 ms 0 KB -