| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 83842 | 胡盛哲 | [在线测评解答教程] A+B Problem | C++ | Output Limit Exceeded | 1 MS | 268 KB | 300 | 2024-07-15 09:39:15 |
#include<iostream> using namespace std; int main(){ int n =0; // 输入的一个几行几列的内容 cin>>n; for(int i=1;i<=n;i++){ for(int j=1;j<=n;j++){ if(j == 1 || j == n)cout<<'|'; else if(i == (n+1)/2)cout<<'-'; else cout<<'a'; } cout<<endl; } return 0; }