0_0_20812751_12948.cpp: In function 'int main()': 0_0_20812751_12948.cpp:7:26: error: 'scanf_s' was not declared in this scope while (~scanf_s("%d", &p), p>-1){ ^