Advertisement
Guest User

Untitled

a guest
Apr 17th, 2016
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.13 KB | None | 0 0
  1. int **graph = new int* [m];
  2. graph[0] = new int[2*m];
  3. for(int i = 0; i < m; ++i) {
  4.     graph[i] = *graph + i*(sizeof(int*)*2);
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement