0_0_15822822_7871.cpp: In function 'int main()': 0_0_15822822_7871.cpp:10:24: error: 's' was not declared in this scope scanf("%d",&n);s=1; ^