1.题意
没啥题意,按照题目给的输入就行。
2.思路
小心小心再小心就行了。
3.源码
# include <stdio.h>
int main ()
{printf(
" ********\n"
" ************\n"
" ####....#.\n"
" #..###.....##....\n"
" ###.......###### ### ###\n"
" ........... #...# #...#\n"
" ##*####### #.#.# #.#.#\n"
" ####*******###### #.#.# #.#.#\n"
" ...#***.****.*###.... #...# #...#\n"
" ....**********##..... ### ###\n"
" ....**** *****....\n"
" #### ####\n"
" ###### ######\n"
" ##############################################################\n"
" #...#......#.##...#......#.##...#......#.##------------------#\n"
" ###########################################------------------#\n"
" #..#....#....##..#....#....##..#....#....#####################\n"
" ########################################## #----------#\n"
" #.....#......##.....#......##.....#......# #----------#\n"
" ########################################## #----------#\n"
" #.#..#....#..##.#..#....#..##.#..#....#..# #----------#\n"
" ########################################## ############\n");
return 0;
}
1.题意
没啥题意,按照题目给的输入就行。
2.思路
没啥思路,很短的代码。
3.源码
# include <stdio.h>
int main ()
{char a;a=getchar();printf(" %c \n",a);printf(" %c%c%c \n",a,a,a);printf("%c%c%c%c%c\n",a,a,a,a,a);return 0;
}
1.题意
没啥题意,按照题目给的输入就行。
2.思路
没啥思路,按照题目给的输入就行。
3.源码
# include <stdio.h>
int main ()
{int number,people,sum;scanf("%d%d",&number,&people);sum=number*people;printf("%d",sum);return 0;
}