/in/foo.cc: In function 'int main()':
/in/foo.cc:43: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:44: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:45: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:46: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:47: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}
~~~~~~~~~~~~~~~~~~~^~