0_0_16862961_2746.cpp: In function 'int main()': 0_0_16862961_2746.cpp:8:26: error: 'scanf_s' was not declared in this scope while ((scanf_s("%d", &r) != EOF)) ^