全部评论 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 来自 河北

    0
  • 6

    2023-08-09 来自 河北

    0
首页