Advertisement
Guest User

Untitled

a guest
Dec 17th, 2018
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. 26 for (int i = 0; i < colours ; i++ ){
  2. 27 for (int j = 0; j < colours ; j++ ){
  3. 28 for (int k = 0; k < colours ; k++ ){
  4. 29 if (i!=rank && j!=rank && k!=rank && i!=j && i!=k && k!=j) {
  5. 30 Answer* answer = new Answer(colourList[rank],colourList[i], colourList[j], colourList[k]) ;
  6. 31 this->comb.push_back(answer) ;
  7. 32 }
  8. 33 }
  9. 34 }
  10. 35 }
  11. 36 }
  12. 37 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement