Problems
Матриця 3
include <bits/stdc++.h>
using namespace std;
int main() { long long n; cin >> n; for(int i=0; i<n; i++){ for(int k=i; k<n; k++){ cout << k; } for(int k=0; k<i; k++){ cout << k; } cout << endl; } }
using namespace std;
int main() { long long n; cin >> n; for(int i=0; i<n; i++){ for(int k=i; k<n; k++){ cout << k; } for(int k=0; k<i; k++){ cout << k; } cout << endl; } }