0_0_36240522_11706.cpp: In function 'int main()': 0_0_36240522_11706.cpp:7:25: error: 'scanf_s' was not declared in this scope while (scanf_s("%d", &n)) ^