6
2023-08-09 09:15:38
发布于:河北
4阅读
0回复
0点赞
某某某说我抄
全部评论 3
2题!!!
2023-08-09 来自 河北
0#include <bits/stdc++.h>
using namespace std;int main() {
int n,m;
cin>>n>>m;
for(int i=1;i<=n;i++){
for(int j=1;j<=m;j++){
if(j%2==1){
cout<<'^';
}else{
cout<<'v';
}
}
}
return 0;
}
为什么我的小波浪输出是横着的,2023-08-09 来自 河北
06
2023-08-09 来自 河北
0乐子别刷了
2023-08-09 来自 河北
0
有帮助,赞一个