Submission #4379

#TimeUsernameProblemLanguageResultExecution timeMemory
4379kipa00Ancient symbol (kriii1_A)C++98
Compilation error
0 ms0 KiB
#include<cstdio> a;main(){scanf("%d",&a);return printf("%d",111*a*a+11*a+1);}

Compilation message (stderr)

A.cpp:2:1: error: 'a' does not name a type
A.cpp:2:8: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
A.cpp: In function 'int main()':
A.cpp:2:22: error: 'a' was not declared in this scope