Advertisement
Josif_tepe

Untitled

Apr 3rd, 2024
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. #include <iostream>
  2. #include <vector>
  3. #include <algorithm>
  4. using namespace std;
  5.  
  6. int main() {
  7. int n = 10;
  8.  
  9. for(int i = 0; i < n; i++) {
  10. for(int j = 0; j < n; j++) {
  11. cout << i << ", " << j << endl;
  12. }
  13. for(int j = 0; j < n; j++) {
  14. cout << i << " " << j << endl;
  15. }
  16.  
  17. }
  18. return 0;
  19. }
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement