点击这里更换您喜欢的皮肤wtboj 首页
请点击这里登入noios   首页 入门 c++讲义 入门教程视频 金牌教程 入门视频 站务 公告 | 题库 记录 竞测 测试 闯关 作业 排名 团队 讨论 | 换肤 | 登入 注册  
News >>   新增功能:各团队管理员可以发布本团队作业了 ()

From sina002
A+B Problem
讨论 Discussion
 
ba
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c,d=1,e;
cin>>a;
for(b=1;b<=a;b++){
for(c=1;c<=d;c++){
if(c%2!=0)cout<<c;
if(c==d){
for(e=c-2;e>=1;e-=2){
cout<<e;
}
}
}
cout<<endl;
d+=2;
}
return 0;
}
( )

此主题无回复显示
发布讨论主题 回复讨论主题
Flag
  
题号
  P1000
  其它
通过
  396人
提交
  3298次
通过率
  12%
难度
  0
提交 讨论 题解
 Copyright wtboj © 2005-2006. www.wutuobang.date Powered by wtboj 关于 联系 帮助
 wtboj Information ---- Total Users : 1361 | Online Users / Processes : 0 / 38 | Processed Time : 31 ms | Server Time : 2025/12/13 13:11:04