Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
39050 yuzhengxun 画矩形 C++ 编译错误 0 MS 0 KB 428 2024-01-30 15:17:13

Tests(0/0):


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


测评信息: