Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
336546 | 李铭泽 | 【C3-T】打印长方形(二) | C++ | 解答错误 | 0 | 3 MS | 256 KB | 247 | 2025-07-28 20:52:01 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,m; cin>>n>>m; for(int i=0;i<n;i++){ for(int j=i;j>=0&&i-j<m;j--) cout<<char('A'+j); for(int j=1;j<=m-i;j++) cout<<char('A'+j); cout<<endl; } return 0; }