제출 #2263

#제출 시각아이디문제언어결과실행 시간메모리
2263zyslee개미 (GA4_ant)C++98
컴파일 에러
0 ms0 KiB
#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;
}

컴파일 시 표준 에러 (stderr) 메시지

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