0_0_39168936_11855.cpp: In function 'int main()':
0_0_39168936_11855.cpp:39:12: error: 'sd' was not declared in this scope; did you mean 'std'?
39 | while(~sd(k)){
| ^~
| std
0_0_39168936_11855.cpp:40:9: error: 'ss' was not declared in this scope; did you mean 's'?
40 | ss(s);
| ^~
| s
0_0_39168936_11855.cpp:42:13: error: 'strlen' was not declared in this scope
42 | len=strlen(s);
| ^~~~~~
0_0_39168936_11855.cpp:1:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
+++ |+#include <cstring>
1 | const int N=20+5;
0_0_39168936_11855.cpp:45:21: error: 'puts' was not declared in this scope
45 | if(flag==0) puts("error");
| ^~~~
0_0_39168936_11855.cpp:46:26: error: 'puts' was not declared in this scope
46 | else if(flag==2) puts("rejected");
| ^~~~
0_0_39168936_11855.cpp:48:13: error: 'printf' was not declared in this scope
48 | printf("%d",maxx);
| ^~~~~~
0_0_39168936_11855.cpp:1:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
+++ |+#include <cstdio>
1 | const int N=20+5;
0_0_39168936_11855.cpp:52:13: error: 'puts' was not declared in this scope
52 | puts("");
| ^~~~
|