| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 66192 | 石茂诤 | 百钱买百鸡II | C++ | Output Limit Exceeded | 1 MS | 268 KB | 282 | 2024-03-02 17:56:05 |
# include<bits/stdc++.h> using namespace std; int main(){ int n=0,s=1; cin>>n; for(int i=1;i<=n;i++){ for(int q=1;q<=n;q++){ for(int w=1;w<=n;w++){ if(i*5+q*3+w/3){ printf("%d:%d,%d,%d",s,i,q,w); s++; } } } } return 0; }