fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int step = 100;
  6. for(int i=0; i<50; i++){
  7. std::cout<< (i*50 + step) % 71 << ' ';
  8. }
  9. return 0;
  10. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
29 8 58 37 16 66 45 24 3 53 32 11 61 40 19 69 48 27 6 56 35 14 64 43 22 1 51 30 9 59 38 17 67 46 25 4 54 33 12 62 41 20 70 49 28 7 57 36 15 65