answer.code: In function ‘int main()’:
answer.code:12:20: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
12 | RI i,j,k; scanf("%s",s+1); int n=strlen(s+1);
| ^
answer.code:12:22: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
12 | RI i,j,k; scanf("%s",s+1); int n=strlen(s+1);
| ^
answer.code:12:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
12 | RI i,j,k; scanf("%s",s+1); int n=strlen(s+1);
| ^
answer.code:12:50: error: ‘strlen’ was not declared in this scope
12 | RI i,j,k; scanf("%s",s+1); int n=strlen(s+1);
| ^~~~~~
answer.code:3:1: note: ‘strlen’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
2 | #include<iostream>
+++ |+#include <cstring>
3 | #define RI register int
answer.code:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
10 | for (scanf("%d",&t);t;--t)
| ~~~~~^~~~~~~~~
answer.code:12:32: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
12 | RI i,j,k; scanf("%s",s+1); int n=strlen(s+1);
| ~~~~~^~~~~~~~~~