0_0_21114965_20918.cpp: In function 'int main()': 0_0_21114965_20918.cpp:5:19: error: 'scanf' was not declared in this scope scanf("%d", &T); ^ 0_0_21114965_20918.cpp:15:17: error: 'printf' was not declared in this scope printf("YES\n"); ^