← Back to List

2741번: N 찍기 ↗

Solutions

C++14
136 B | 136 chars
#include <iostream>
#include <stdio.h>
using namespace std;
int main()
{
	int n;
	cin>>n;
	for(int x=0; x<n; x++) printf("%d\n",x+1); 
}