Submission #3785

#TimeUsernameProblemLanguageResultExecution timeMemory
3785gs13068Ancient symbol (kriii1_A)C++98
Compilation error
0 ms0 KiB
#include<cstdio> int main() { int n; scanf("%d",&n); printf("%d",111*x*x+11*x+1); }

Compilation message (stderr)

A.cpp: In function 'int main()':
A.cpp:7:19: error: 'x' was not declared in this scope
A.cpp:6:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]