Submission #4379

# Submission time Handle Problem Language Result Execution time Memory
4379 2013-09-21T04:25:39 Z kipa00 Ancient symbol (kriii1_A) C++
Compilation error
0 ms 0 KB
#include<cstdio>
a;main(){scanf("%d",&a);return printf("%d",111*a*a+11*a+1);}

Compilation message

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