【入门】请输出1~n之间所有的整数
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
说明
从键盘读入一个整数n,请循环输出1~n之间所有的整数,每行输出1个。
比如,假设n=5,那么输出结果如下:
1
2
3
4
5
输入格式
一个整数n。
输出格式
输出1~n之间所有的整数。
样例
51
2
3
4
5
望京C++一班寒假语法赛
- Status
- Done
- Rule
- IOI(Strict)
- Problem
- 3
- Start at
- 2025-1-10 11:00
- End at
- 2025-1-10 14:00
- Duration
- 0.5 hour(s)
- Host
- Partic.
- 4