Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- long currsize = 524288;
- int *insertedEdges = new int[currsize*currsize];
- terminate called after throwing an instance of 'std::bad_alloc'
- printf("ALLOCATIONS START n");
- int **insertedEdges = new int*[currsize];
- for(int i = 0; i < currsize; i++) {
- insertedEdges[i] = new int[currsize];
- }
Add Comment
Please, Sign In to add comment