eolymp
bolt
Try our new interface for solving problems
Problems

Матриця 3

published at 1/15/24, 4:07:16 pm

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; } }