Untitled
Anonymous
plain_text
10/16/2022 8:04 AM
244 B
16
Indexable
#include <bits/stdc++.h>
using namespace std;
int main(){
int n;
cin >> n;
for(int i=1; i<=n; i++){
for(int j=1; j<=i; j++){
cout << i;
}
cout << "\n";
}
} Editor is loading...