Website Summary Files Commits Branches @commit @diff @stats
path: root / pract_SI / Pract. 03 / Solutions / task1.cpp
blob: ae955a8715f6333199c14e7558aa3b3d8dc6dde2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "pch.h"
#include <iostream>

using namespace std;

int main()
{
	unsigned long long number;
	cin >> number;

	for (int i = 1; i <= number; i++)
	{
		for (int j = 1; j <= i; j++)
			cout << j;
		cout << endl;
	}

	return 0;
}