0_0_30396156_2247.cpp: In function 'int main()': 0_0_30396156_2247.cpp:8:26: error: 'scanf_s' was not declared in this scope while (~scanf_s("%d", &n) && n) ^