grader.c: In function 'int main()':
grader.c:63:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
my_assert(strlen(A[i]+1) == N, "each line of the map must contain N zeroes or ones (before loop)");
^
treasure.cpp: In function 'void findTreasure(int)':
treasure.cpp:32:51: error: 'countTreasure' was not declared in this scope
int cnt = countTreasure(i, j, i, j);
^
treasure.cpp:32:21: warning: unused variable 'cnt' [-Wunused-variable]
int cnt = countTreasure(i, j, i, j);
^
treasure.cpp:38:41: error: 'Report' was not declared in this scope
if(chk[i][j]) Report(i,j);
^
treasure.cpp:45:44: error: 'countTreasure' was not declared in this scope
int cnt = countTreasure(1,1,i,j);
^
treasure.cpp:61:27: error: 'Report' was not declared in this scope
Report(i,j);
^