Submission #2263

#TimeUsernameProblemLanguageResultExecution timeMemory
2263zyslee개미 (GA4_ant)C++98
Compilation error
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; }

Compilation message (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