fork download
  1. #include <iostream>
  2.  
  3. int tab[7][10] = { {1,1,1,1,1,1,1,1,1,1},
  4. {1,1,1,1,1,1,1,1,1,1},
  5. {1,1,1,1,1,1,1,1,1,1},
  6. {1,1,1,1,1,1,1,1,1,1},
  7. {1,1,1,1,1,1,1,1,1,1},
  8. {1,1,1,1,1,1,1,1,1,1},
  9. {1,1,1,1,1,1,1,1,1,1} };
  10.  
  11. int main()
  12. {
  13. using namespace std;
  14. for(auto const& line : tab){
  15. for(int val : line){
  16. std::cout << val;
  17. }
  18. std::cout << std::endl;
  19. }
  20. }
Success #stdin #stdout 0s 2896KB
stdin
Standard input is empty
stdout
1111111111
1111111111
1111111111
1111111111
1111111111
1111111111
1111111111