Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
108594 胡海峰老师 12for循环练习II C++ Accepted 4 MS 280 KB 226 2025-01-20 21:23:20

Tests(10/10):


Code:

#include <iostream> using namespace std; int main () { int i,j; cin>>i>>j; int k; k = i; while(k<=j) { cout<<k<<endl; k++; } // for(int k=i;k<=j;k++) // cout<<k<<endl; return 0; }