1234567891011121314151617181920212223242526272829303132
#include <iostream> #include <vector> using namespace std; int main() { int Ze=1; vector<int> colume; int IT=0; for(int i =0;i<10;i++) { if (IT>=Ze) { colume.push_back(1); } else { colume.push_back(0); } IT++; if(IT==2*Ze) { IT=0; } } for(int u =0;u>10;u++) { cout<<colume.at(u)<<endl; } }
u<10