Advertisement
Guest User

Untitled

a guest
Oct 21st, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. #include <iostream>
  2. #include <fstream>
  3. using namespace std;
  4. int tab[100][1000];
  5. int main()
  6. {
  7.  
  8. fstream wej("ciagi.txt");
  9.  
  10.  
  11. int q,n;
  12. int x=0;
  13. int i=0;
  14.  
  15. for(int i=0;i<100;i++)
  16. {
  17. wej>>x;
  18. n=x;tab[i][0]=n;
  19.  
  20. for (int j=1;j<=n;j++)
  21. {
  22. wej>>x;
  23. tab[i][j]=x;
  24. }
  25. }
  26.  
  27. for(int i=0;i<100;i++)
  28.  
  29.  
  30.  
  31.  
  32. return 0;
  33.  
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement