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