Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
430958 许舒睿 【C3-1】画矩形 C++ 解答错误 0 6 MS 256 KB 250 2026-03-06 20:04:14

Tests(0/2):


#include<bits/stdc++.h> using namespace std; int main(){ int n,a,c; char b; cin>>n>>a>>b>>c; for(int i=1;i<=n;i++){ for(int j=1;j<=a;j++){ if(i==1||i==n||j==1||j==a) cout<<b; else cout<<b; } cout<<endl; } return 0; }


测评信息: