0_0_39147650_24030.cpp: In function 'int get_size(char*)':
0_0_39147650_24030.cpp:4:13: error: 'get_type' was not declared in this scope
4 | int res=get_type(s);
| ^~~~~~~~
0_0_39147650_24030.cpp:5:13: error: 'strlen' was not declared in this scope
5 | int len=strlen(s);
| ^~~~~~
0_0_39147650_24030.cpp:1:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
+++ |+#include <cstring>
1 |
0_0_39147650_24030.cpp: In function 'int main()':
0_0_39147650_24030.cpp:26:5: error: 'scanf' was not declared in this scope
26 | scanf("%d",&t);
| ^~~~~
0_0_39147650_24030.cpp:30:14: error: 'buf' was not declared in this scope
30 | gets(buf);
| ^~~
0_0_39147650_24030.cpp:30:9: error: 'gets' was not declared in this scope
30 | gets(buf);
| ^~~~
0_0_39147650_24030.cpp:42:9: error: 'printf' was not declared in this scope
42 | printf("Case #%d: %d\n",i,r);
| ^~~~~~
0_0_39147650_24030.cpp:1:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
+++ |+#include <cstdio>
1 |
|