Untitled

mail@pastecode.io avatar
unknown
c_cpp
2 months ago
261 B
0
Indexable
Never
#include <iostream>
#include <fstream>
using namespace std;




int main()
{	
	ofstream tolya("t.txt");
	int a;
	cin >> a;
	tolya << "N - " << a << "\n";
	for (int i = 0; i < a; i++)
	{
		tolya << i + 1 << "\n";
	}
	cout << "pisanina";


}
Leave a Comment