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)
......
48 | forn(i,n) forn(j,m) ans+=dp[k&1][i+1][j+1];
| ~~~
nautilus.cpp:48:2: note: in expansion of macro 'forn'
48 | 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)
......
48 | forn(i,n) forn(j,m) ans+=dp[k&1][i+1][j+1];
| ~~~
nautilus.cpp:48:12: note: in expansion of macro 'forn'
48 | forn(i,n) forn(j,m) ans+=dp[k&1][i+1][j+1];
| ^~~~
nautilus.cpp:30:7: warning: unused variable 'u' [-Wunused-variable]
30 | bool u,d,l,r,t;
| ^
nautilus.cpp:30:9: warning: unused variable 'd' [-Wunused-variable]
30 | bool u,d,l,r,t;
| ^
nautilus.cpp:30:11: warning: unused variable 'l' [-Wunused-variable]
30 | bool u,d,l,r,t;
| ^
nautilus.cpp:30:13: warning: unused variable 'r' [-Wunused-variable]
30 | bool u,d,l,r,t;
| ^
nautilus.cpp:30:15: warning: unused variable 't' [-Wunused-variable]
30 | bool u,d,l,r,t;
| ^