Advertisement
WupEly

Untitled

Nov 29th, 2022
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. #define _CRT_SECURE_NO_WARNINGS
  2. #include <stdio.h>
  3. #include <string>
  4. #include <vector>
  5.  
  6.  
  7. using namespace std;
  8.  
  9. int main()
  10. {
  11. int j1, i1;
  12. int n, m;
  13.  
  14. scanf("%d%d", &n, &m);
  15. vector < vector <int> > arr(n, vector <int>(m));
  16.  
  17. for (int i = 0; i < n; i++)
  18. {
  19. for (int j = 0; j < m; j++)
  20. {
  21. int el = 0;
  22. scanf("%d", &el);
  23. arr[i].push_back(el);
  24.  
  25. }
  26. }
  27. for (int i; i < arr.size(); i++) {
  28. string t(arr.begin(), arr.end());
  29. printf("%s", t);
  30. }
  31.  
  32.  
  33.  
  34.  
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement