/in/foo.cc: In function 'int main()':
/in/foo.cc:94:42: warning: narrowing conversion of '(((1ll * ((long long int)(m - 2))) * ((long long int)(m - 3))) % 1000000009ll)' from 'long long int' to 'int' inside { } [-Wnarrowing]
int mp[5][5]={{0,1,0,m-2,1ll*(m-2)*(m-3)%mod},
~~~~~~~~~~~~~~~^~~~
/in/foo.cc:95:28: 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},{0,2,m-2,2*m-5,2ll*(m-3)*(m-3)%mod},
~~~~~~~~~~~~~~~^~~~
/in/foo.cc:95:64: warning: narrowing conversion of '(((2ll * ((long long int)(m - 3))) * ((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},{0,2,m-2,2*m-5,2ll*(m-3)*(m-3)%mod},
~~~~~~~~~~~~~~~^~~~
/in/foo.cc:96:32: 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},{1,1,m-3,m-3,1ll*(m-3)*(m-4)%mod+1}};
~~~~~~~~~~~~~~~^~~~
/in/foo.cc:96:70: 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]
{2,0,2*m-5,m-2,2ll*(m-3)*(m-3)%mod},{1,1,m-3,m-3,1ll*(m-3)*(m-4)%mod+1}};
~~~~~~~~~~~~~~~~~~~^~