/in/foo.cc: In function 'void work(int)':
/in/foo.cc:31:15: warning: unused variable 's' [-Wunused-variable]
31 | long long s=0; int num=1000000008;
| ^
/in/foo.cc:31:24: warning: unused variable 'num' [-Wunused-variable]
31 | long long s=0; int num=1000000008;
| ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:123:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
123 | printf("%d\n%I64d\n",dp[l[1]][0][1],f[l[1]][0][1]);
| ~~~~^ ~~~~~~~~~~~~~
| | |
| int long long int
| %I64lld
/in/foo.cc:126:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
126 | printf("%d\n%I64d\n",1+dp[l[1]][1][0],f[l[1]][1][0]);
| ~~~~^ ~~~~~~~~~~~~~
| | |
| int long long int
| %I64lld
/in/foo.cc:128:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
128 | printf("%d\n%I64d\n",1+dp[l[1]][1][0],(f[l[1]][0][1]+f[l[1]][1][0])%mo);
| ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| int long long int
| %I64lld