Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(i = 0; i < 300; i++) // Mieszamy tablicę
- {
- i1 = rand() % 32; // Losujemy 2 indeksy
- i2 = rand() % 32;
- x = Tk[i1]; // Wymieniamy Tk[i1] <--> Tk[i2]
- Tk[i1] = Tk[i2];
- Tk[i2] = x;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement