fork download
  1. #include <bits/stdc++.h>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. for(int i=4;i<7;i++)
  8. {
  9. for(int j=1;j<=10;j++)
  10. {
  11. cout << (j^i) << " ";
  12. }
  13. cout << endl;
  14. }
  15. }
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
5 6 7 0 1 2 3 12 13 14 
4 7 6 1 0 3 2 13 12 15 
7 4 5 2 3 0 1 14 15 12