eolymp
bolt
Try our new interface for solving problems
Problems

Матриця 1

published at 1/21/24, 12:20:29 pm

include <bits/stdc++.h>

using namespace std; int main(){ int n; cin>>n;

for(int i=0; i<n; i++){
    for(int j=0; j<n; j++){
        cout<<i-j/n;
    }
    cout<<endl;
}

}

published at 1/21/24, 12:20:30 pm

include <bits/stdc++.h>

using namespace std; int main(){ int n; cin>>n;

for(int i=0; i<n; i++){
    for(int j=0; j<n; j++){
        cout<<i-j/n;
    }
    cout<<endl;
}

}

published at 1/21/24, 12:20:31 pm

include <bits/stdc++.h>

using namespace std; int main(){ int n; cin>>n;

for(int i=0; i<n; i++){
    for(int j=0; j<n; j++){
        cout<<i-j/n;
    }
    cout<<endl;
}

}

published at 1/21/24, 12:20:33 pm

include <bits/stdc++.h>

using namespace std; int main(){ int n; cin>>n;

for(int i=0; i<n; i++){
    for(int j=0; j<n; j++){
        cout<<i-j/n;
    }
    cout<<endl;
}

}

published at 1/21/24, 12:20:34 pm

include <bits/stdc++.h>

using namespace std; int main(){ int n; cin>>n;

for(int i=0; i<n; i++){
    for(int j=0; j<n; j++){
        cout<<i-j/n;
    }
    cout<<endl;
}

}

published at 1/21/24, 12:21:51 pm

include <bits/stdc++.h>

using namespace std; int main(){ int n; cin>>n; for(int i=0; i<n; i++){ for(int j=0; j<n; j++){ cout<<i-j/n; } cout<<endl; } }

published at 1/21/24, 12:22:11 pm

include <bits/stdc++.h>

using namespace std; int main(){ int n; cin>>n; for(int i=0; i<n; i++){ for(int j=0; j<n; j++){ cout<<i-j/n; } cout<<endl; } }