0_0_21759146_20028.cpp: In function 'int main()': 0_0_21759146_20028.cpp:10:39: error: 'scanf_s' was not declared in this scope while (scanf_s("%d/%d/%d", &y, &m, &d)) ^