foo.cc: In function 'void printAll(std::bitset<140000>)':
foo.cc:12:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(register int i=s.size()-1;i>=s.size()-20;i--)
~^~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:46:49: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
bitset<140000> tmp( (1<<rbound) - (1<<lbound-1) );
~~~~~~^~
foo.cc:50:48: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
bitset<140000> tmp( (1<<rbound) - (1<<lbound-1) );
~~~~~~^~
foo.cc:54:30: warning: left shift count >= width of type [-Wshift-count-overflow]
bitset<140000> tmp( (1<<N+1) - (1<<rbound) + (1<<lbound-1) - 1 ) ;
^
foo.cc:54:29: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
bitset<140000> tmp( (1<<N+1) - (1<<rbound) + (1<<lbound-1) - 1 ) ;
~^~
foo.cc:54:59: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
bitset<140000> tmp( (1<<N+1) - (1<<rbound) + (1<<lbound-1) - 1 ) ;
~~~~~~^~
foo.cc:59:48: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
bitset<140000> tmp( (1<<rbound) - (1<<lbound-1) );
~~~~~~^~
foo.cc:65:30: warning: left shift count >= width of type [-Wshift-count-overflow]
bitset<140000> tmp( (1<<N+1) - (1<<rbound) + (1<<lbound-1) - 1 );
^
foo.cc:65:29: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
bitset<140000> tmp( (1<<N+1) - (1<<rbound) + (1<<lbound-1) - 1 );
~^~
foo.cc:65:59: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
bitset<140000> tmp( (1<<N+1) - (1<<rbound) + (1<<lbound-1) - 1 );
~~~~~~^~
foo.cc:70:29: warning: left shift count >= width of type [-Wshift-count-overflow]
bitset <140000> t( (1<<N+1) - (1<<rbound) + (1<<lbound-1) - 1 ) ;
^
foo.cc:70:28: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
bitset <140000> t( (1<<N+1) - (1<<rbound) + (1<<lbound-1) - 1 ) ;
~^~
foo.cc:70:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
bitset <140000> t( (1<<N+1) - (1<<rbound) + (1<<lbound-1) - 1 ) ;
~~~~~~^~
[Hydro](https://hydro.ac)提供评测服务