0_0_39754273_20553.cpp: In function 'int main()':
0_0_39754273_20553.cpp:43:17: error: 'scanf' was not declared in this scope
43 | scanf("%d %d %d",&n,&m,&t);
| ^~~~~
0_0_39754273_20553.cpp:59:25: error: 'printf' was not declared in this scope
59 | if(flag)printf("YES\n");
| ^~~~~~
0_0_39754273_20553.cpp:2:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
1 | #include<algorithm>
+++ |+#include <cstdio>
2 | using namespace std;
0_0_39754273_20553.cpp:60:22: error: 'printf' was not declared in this scope
60 | else printf("NO\n");
| ^~~~~~
0_0_39754273_20553.cpp:60:22: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
|