题解
2026-08-11 21:24:54
发布于:广西
0阅读
0回复
0点赞
上一题把判断改一下即可
#include<bits/stdc++.h>
using namespace
std;
int main()
{
int
n;
cin>>n;
for(int i=1
;i<=n;i++){
for(int j=1;j<=100
;j++){
if(j%2!=0
){
cout<<j<<
" "
;
}
}
cout<<endl;
}
}
这里空空如也






有帮助,赞一个