Advertisement
STANAANDREY

boarding

Jan 18th, 2020
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. void init()
  2. {
  3.     for (int i = 0; i <= n + 1; i++)
  4.         vis[0][i] = vis[n + 1][i] = true;
  5.  
  6.     for (int i = 0; i <= m + 1; i++)
  7.         vis[i][0] = vis[i][m + 1] = true;
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement