0_0_38161766_8328.cpp: In function 'int main()': 0_0_38161766_8328.cpp:57:17: error: 'n' was not declared in this scope scanf("%d",&n); ^