/in/foo.cc: In function 'int main()':
/in/foo.cc:73:29: warning: narrowing conversion of '(((1ll * ((long long int)(m - 2))) * ((long long int)(m - 3))) % 1000000009ll)' from 'long long int' to 'int' inside { } [-Wnarrowing]
{0,1,0,m-2,1ll*(m-2)*(m-3)%mod},
~~~~~~~~~~~~~~~^~~~
/in/foo.cc:74:29: warning: narrowing conversion of '(((1ll * ((long long int)(m - 2))) * ((long long int)(m - 3))) % 1000000009ll)' from 'long long int' to 'int' inside { } [-Wnarrowing]
{1,0,m-2,0,1ll*(m-2)*(m-3)%mod},
~~~~~~~~~~~~~~~^~~~
/in/foo.cc:75:33: warning: narrowing conversion of '(((2ll * ((long long int)(m - 3))) * ((long long int)(m - 3))) % 1000000009ll)' from 'long long int' to 'int' inside { } [-Wnarrowing]
{0,2,m-2,2*m-5,2ll*(m-3)*(m-3)%mod},
~~~~~~~~~~~~~~~^~~~
/in/foo.cc:76:33: warning: narrowing conversion of '(((2ll * ((long long int)(m - 3))) * ((long long int)(m - 3))) % 1000000009ll)' from 'long long int' to 'int' inside { } [-Wnarrowing]
{2,0,2*m-5,m-2,2ll*(m-3)*(m-3)%mod},
~~~~~~~~~~~~~~~^~~~
/in/foo.cc:77:35: warning: narrowing conversion of '((((1ll * ((long long int)(m - 3))) * ((long long int)(m - 4))) % 1000000009ll) + 1ll)' from 'long long int' to 'int' inside { } [-Wnarrowing]
{1,1,m-3,m-3,1ll*(m-3)*(m-4)%mod+1}
~~~~~~~~~~~~~~~~~~~^~
/in/foo.cc:98:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(b[i])
^