joi2019_ho_t1.cpp: In function 'int main()':
joi2019_ho_t1.cpp:13:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,a,b) for(int i = a;i < b;i++)
joi2019_ho_t1.cpp:54:9:
rep(i,0,n)
~~~~~
joi2019_ho_t1.cpp:54:5: note: in expansion of macro 'rep'
rep(i,0,n)
^~~
joi2019_ho_t1.cpp:13:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,a,b) for(int i = a;i < b;i++)
joi2019_ho_t1.cpp:56:13:
rep(j,0,m)
~~~~~
joi2019_ho_t1.cpp:56:9: note: in expansion of macro 'rep'
rep(j,0,m)
^~~
joi2019_ho_t1.cpp:13:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,a,b) for(int i = a;i < b;i++)
joi2019_ho_t1.cpp:69:9:
rep(i,0,n)
~~~~~
joi2019_ho_t1.cpp:69:5: note: in expansion of macro 'rep'
rep(i,0,n)
^~~
joi2019_ho_t1.cpp:13:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,a,b) for(int i = a;i < b;i++)
joi2019_ho_t1.cpp:71:13:
rep(j,0,m)
~~~~~
joi2019_ho_t1.cpp:71:9: note: in expansion of macro 'rep'
rep(j,0,m)
^~~
joi2019_ho_t1.cpp:13:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,a,b) for(int i = a;i < b;i++)
joi2019_ho_t1.cpp:96:9:
rep(i,0,n)
~~~~~
joi2019_ho_t1.cpp:96:5: note: in expansion of macro 'rep'
rep(i,0,n)
^~~
joi2019_ho_t1.cpp:13:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,a,b) for(int i = a;i < b;i++)
joi2019_ho_t1.cpp:98:13:
rep(j,0,m)
~~~~~
joi2019_ho_t1.cpp:98:9: note: in expansion of macro 'rep'
rep(j,0,m)
^~~
joi2019_ho_t1.cpp:100:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i != n-1 && j != m-1 && jewels[i][j])
~~^~~~~~
joi2019_ho_t1.cpp:100:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i != n-1 && j != m-1 && jewels[i][j])
~~^~~~~~