Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int first = 0, second = 0;
- for (int k = 0; k < obj.edges; ++k) {
- while (first == second) {
- std::cout << "first " << first;
- std::cout << "second " << second;
- first = std::rand() % obj.size;
- second = std::rand() % obj.size;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement