Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
97563 | 蔡佳轩 | 15相同数的次数 | C++ | Output Limit Exceeded | 1 MS | 264 KB | 328 | 2024-11-16 11:10:38 |
#include <iostream> using namespace std; int main(){ int xl=1,xz=1,sum=0; for(int i=1;i<=1000;i++){ cout<<xl<<' '; xl ++; if(xl>20){ xl = 1; cout<<endl; } xz++; if(xz>30){ xz = 1; cout<<endl; } } }