Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
101100 华雅萱 12for循环练习I C++ Output Limit Exceeded 16 MS 268 KB 150 2024-12-14 14:36:59

Tests(0/10):


Code:

#include<iostream> using namespace std; int main(){ int n; cin>>n; for(n=1;n<=n;n=n++){ cout<<n<<endl; } return 0; }