0_0_31939763_24598.cpp: In function 'int main()': 0_0_31939763_24598.cpp:9:21: error: 'n' was not declared in this scope scanf("%d %d %d",&n,&m,&k); ^