| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 119554 | 张暄浩 | [在线测评解答教程] A+B Problem | C++ | Output Limit Exceeded | 1 MS | 268 KB | 401 | 2025-05-17 18:16:25 |
#include<bits/stdc++.h> using namespace std; int main() { int q,w,r; char e; cin>>q>>w>>e>>r; if(r==0){ for(int i=0;i<w;i++) cout<<e; for(int i=0;i<q-2;i++){ cout<<endl<<e; for(int j=0;j<w-2;j++) cout<<' '; cout<<e; } cout<<endl; for(int i=0;i<w;i++) cout<<e; } else{ for(int i=0;i<q;i++){ for(int j=0;j<w;j++) cout<<e; cout<<endl; } } }