Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void init()
- {
- for (int i = 0; i <= n + 1; i++)
- vis[0][i] = vis[n + 1][i] = true;
- for (int i = 0; i <= m + 1; i++)
- vis[i][0] = vis[i][m + 1] = true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement