mirror of
https://github.com/m1ngsama/code4sk.git
synced 2025-12-25 02:56:17 +00:00
36 lines
379 B
C++
36 lines
379 B
C++
/*
|
|
7-8 ?????????
|
|
?? 10
|
|
?? ??
|
|
?? ??????
|
|
????????,??n??????A?????????????
|
|
|
|
????:
|
|
?????????????n(1=n<7)?
|
|
|
|
????:
|
|
??n??????A????????????????????,???????????????
|
|
|
|
????:
|
|
4
|
|
????:
|
|
A B C D
|
|
E F G
|
|
H I
|
|
J
|
|
*/
|
|
|
|
#include<stdio.h>
|
|
int main(){
|
|
int n;
|
|
scanf("%d",&n);
|
|
char c='A';
|
|
for(int i=n;i>0;i--){
|
|
for(int j=i;j>0;j--){
|
|
printf("%c ",c);
|
|
c++;
|
|
}
|
|
printf("\n");
|
|
}
|
|
return 0;
|
|
}
|