mirror of
https://github.com/20kaushik02/leetcode-gulag.git
synced 2025-12-06 08:34:06 +00:00
13 lines
322 B
C++
13 lines
322 B
C++
#include "soln.hpp"
|
|
|
|
int main()
|
|
{
|
|
vector<vector<char>> grid{{'1', '1', '1', '1', '0'},
|
|
{'1', '1', '0', '1', '0'},
|
|
{'1', '1', '1', '0', '1'},
|
|
{'0', '0', '0', '1', '1'}};
|
|
int answer = 2;
|
|
Solution soln;
|
|
cout << "Found no. of islands correctly? " << soln.test(grid, answer) << endl;
|
|
return 0;
|
|
} |