nautilus.cpp: In function 'void solve()':
nautilus.cpp:10:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
10 | #define forn(i,n) for(size_t i=0;i<n;++i)
......
26 | forn(i,n) cin>>a[i];
| ~~~
nautilus.cpp:26:2: note: in expansion of macro 'forn'
26 | forn(i,n) cin>>a[i];
| ^~~~
nautilus.cpp:10:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
10 | #define forn(i,n) for(size_t i=0;i<n;++i)
......
28 | forn(i,n) forn(j,m) if (a[i][j]=='.') dp[0][i+1].set(j+1), ok[i+1].set(j+1);
| ~~~
nautilus.cpp:28:2: note: in expansion of macro 'forn'
28 | forn(i,n) forn(j,m) if (a[i][j]=='.') dp[0][i+1].set(j+1), ok[i+1].set(j+1);
| ^~~~
nautilus.cpp:10:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
10 | #define forn(i,n) for(size_t i=0;i<n;++i)
......
28 | forn(i,n) forn(j,m) if (a[i][j]=='.') dp[0][i+1].set(j+1), ok[i+1].set(j+1);
| ~~~
nautilus.cpp:28:12: note: in expansion of macro 'forn'
28 | forn(i,n) forn(j,m) if (a[i][j]=='.') dp[0][i+1].set(j+1), ok[i+1].set(j+1);
| ^~~~
nautilus.cpp:10:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
10 | #define forn(i,n) for(size_t i=0;i<n;++i)
......
31 | forn(it,k) {
| ~~~~
nautilus.cpp:31:2: note: in expansion of macro 'forn'
31 | forn(it,k) {
| ^~~~
nautilus.cpp:10:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
10 | #define forn(i,n) for(size_t i=0;i<n;++i)
......
59 | forn(i,n) forn(j,m) ans+=dp[k&1][i+1][j+1];
| ~~~
nautilus.cpp:59:2: note: in expansion of macro 'forn'
59 | forn(i,n) forn(j,m) ans+=dp[k&1][i+1][j+1];
| ^~~~
nautilus.cpp:10:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
10 | #define forn(i,n) for(size_t i=0;i<n;++i)
......
59 | forn(i,n) forn(j,m) ans+=dp[k&1][i+1][j+1];
| ~~~
nautilus.cpp:59:12: note: in expansion of macro 'forn'
59 | forn(i,n) forn(j,m) ans+=dp[k&1][i+1][j+1];
| ^~~~
nautilus.cpp:30:15: warning: unused variable 't' [-Wunused-variable]
30 | bool u,d,l,r,t;
| ^