0_0_24278169_10217.cpp: In function 'int main()': 0_0_24278169_10217.cpp:12:31: error: 'scanf_s' was not declared in this scope while (scanf_s("%d %d", &M,&N)!=EOF) ^