Submission #2263

# Submission time Handle Problem Language Result Execution time Memory
2263 2013-07-21T00:37:40 Z zyslee 개미 (GA4_ant) C++
Compilation error
0 ms 0 KB
#include<stdio.h>
int main()
{
	__int64 n, a, b, c, i;
	scanf("%I64d", &n);
	for(i=1;i<=n;i++){
		scanf("%I64d %I64d %I64d", &a, &b, &c);
		if(a>b && a>c) printf("%I64d\n", a*a+(b+c)*(b+c));
		if(b>a && b>c) printf("%I64d\n", b*b+(a+c)*(a+c));
		if(c>a && c>b) printf("%I64d\n", c*c+(a+b)*(a+b));
	}
	return 0;
}

Compilation message

ant.cpp: In function 'int main()':
ant.cpp:4: error: '__int64' was not declared in this scope
ant.cpp:4: error: expected `;' before 'n'
ant.cpp:5: error: 'n' was not declared in this scope
ant.cpp:6: error: 'i' was not declared in this scope
ant.cpp:7: error: 'a' was not declared in this scope
ant.cpp:7: error: 'b' was not declared in this scope
ant.cpp:7: error: 'c' was not declared in this scope