|
|
|
|
讨论 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 |
|
|
|
|
|
|