Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
108252 huangyanchen class C++ 编译错误 0 0 MS 0 KB 481 2025-06-14 10:07:49

Tests(0/0):


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


测评信息: