答案
2026-01-04 18:27:51
发布于:江苏
5阅读
0回复
0点赞
#include <iostream>da
using namespace std;
int main() {
int a,b,t,s;
cin>>a>>b;
if(a<b)
t=a;
else
t=b;
if(a<b)
s=b-a;
else
s=a-b;
for(int i=1;i<=t;i++){
cout<<"#"<<"";
}
for(int i=1;i<=s;i++){
if(a<b)
cout<<"";
else
cout<<"#";
}
return 0;
}
这里空空如也




有帮助,赞一个