0_0_20471223_1967.cpp: In function 'int main()': 0_0_20471223_1967.cpp:19:23: error: 'scanf_s' was not declared in this scope scanf_s("%d", &a[i]); ^