Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
153606 蔡皓霆 12for循环练习I C++ Accepted 3 MS 272 KB 226 2026-05-23 13:44:53

Tests(10/10):


Code:

#include <iostream> using namespace std; int main() { int n; cin >> n; // 输入数字n for (int i = 1; i <= n; i++) { cout << i << endl; // 每个数字一行 } return 0; }