0_0_39384701_30858.cpp: In function 'int main()':
0_0_39384701_30858.cpp:8:5: error: 'scanf' was not declared in this scope
8 | scanf("%d", &t);
| ^~~~~
0_0_39384701_30858.cpp:34:9: error: 'printf' was not declared in this scope
34 | printf("%d\n", x);
| ^~~~~~
0_0_39384701_30858.cpp:2:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
1 | #include <string.h>
+++ |+#include <cstdio>
2 |
|