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