foo.cc: In function 'int main()':
foo.cc:19:44: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
19 | if(s[i]!=s[j]&&s[i]!=&&s[j]=='?')
foo.cc:19:49: error: expected ')' before '[' token
19 | if(s[i]!=s[j]&&s[i]!=&&s[j]=='?')
| ~ ^
| )
foo.cc:32:44: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
32 | if(s[i]!=s[j]&&s[i]!=&&s[j]=='?')
foo.cc:32:49: error: expected ')' before '[' token
32 | if(s[i]!=s[j]&&s[i]!=&&s[j]=='?')
| ~ ^
| )
foo.cc:36:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
36 | if(i=j&&s[i]=='?') cnt=(26+cnt)%P;
| ~^~~~~~~~~~~~~
foo.cc:19:48: error: label 's' used but not defined
19 | if(s[i]!=s[j]&&s[i]!=&&s[j]=='?')
| ^
[Hydro](https://hydro.ac)提供评测服务