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