1. 程式人生 > >新手村

新手村

problem .... 難度 printf 第一個 ble open aps nbsp

洛谷的第一個任務

超級瑪麗遊戲

題目:https://www.luogu.org/problem/show?pid=1000

難度:0

題解:其實並不難,就是麻煩點。

代碼:

技術分享
#include<cstdio>
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"); }
View Code

新手村