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