Submission #2211

# Submission time Handle Problem Language Result Execution time Memory
2211 2013-07-20T09:51:22 Z ksmin1114 개미 (GA4_ant) C++
22 / 100
57 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",(a+b)*(a+b)+c*c);
	}
}
# Verdict Execution time Memory Grader output
1 Correct 38 ms 884 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 44 ms 884 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Correct 46 ms 884 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 47 ms 884 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 57 ms 884 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 57 ms 884 KB Output isn't correct
2 Halted 0 ms 0 KB -