dstorv.cpp: In function 'void dfs(std::__cxx11::string, int, int, lld)':
dstorv.cpp:28:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<s.size(); i++){
~^~~~~~~~~
dstorv.cpp:33:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; i<s.size(); i++) rx+=s[i];
~^~~~~~~~~
dstorv.cpp:37:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1; i<s.size(); i++){
~^~~~~~~~~
dstorv.cpp:40:7: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i == s.size()){
~~^~~~~~~~~~~
dstorv.cpp:46:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int t=i+1; t<s.size(); t++) rx+=s[t], hx+=s[t];
~^~~~~~~~~
dstorv.cpp: In function 'int main()':
dstorv.cpp:52:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld%lld", &N, &r, &h), rh=ex(r+h,mod-2);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
dstorv.cpp:54:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("\n%s", st);
~~~~~^~~~~~~~~~~~
dstorv.cpp:55:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &A, &B);
~~~~~^~~~~~~~~~~~~~~~