Advertisement
a53

Val1

a53
Jan 19th, 2019
119
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. using namespace std;
  3.  
  4. int main()
  5. {
  6. int n,m;
  7. cin>>n>>m;
  8. for(int i=1;i<=m;++i)
  9. cout<<"__0_0___";
  10. cout<<'\n';
  11. for(int i=2;i<n;++i)
  12. {
  13. for(int j=1;j<=m;++j)
  14. cout<<"_0___0__";
  15. cout<<'\n';
  16. }
  17. if(n>1)
  18. for(int i=1;i<=m;++i)
  19. cout<<"0_____0_";
  20. return 0;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement