Luo Gu P1000 Super Mario game explanations

Each row can be output directly.

#include <bits / stdc ++ h. > // universal header
 the using  namespace STD;
 int main () 
{ 
  COUT << "                 ******** " << endl; // output line by line 
  COUT << "                * *********** " << endl; 
  cout << "                . # #### .... " << endl; 
  cout << "              # .. ### ..... .... ## " << endl; 
  cout << "              ### .......######              ###            ###"<<endl;
  cout<<"                ...........               #...#          #...#"<<endl;
  cout<<"               ##*#######                 #.#.#          #.#.#"<<endl;
  cout<<"            ####*******######             #.#.#          #.#.#"<<endl;
  cout<<"           ...#***.****.*###....          #...#          #...#"<<endl;
  cout<<"           ....**********##.....           ###            ###"<<endl;
  cout<<"           ....****    *****...."<<endl;
  cout<<"             ####        ####"<<endl;
  cout<<"           ######        ######"<<endl;
  cout<<"##############################################################"<<endl;
  cout<<"#...#......#.##...#......#.##...#......#.##------------------#"<<endl;
  cout<<"###########################################------------------#"<<endl;
  cout<<"#..#....#....##..#....#....##..#....#....#####################"<<endl;
  cout<<"##########################################    #----------#"<<endl;
  cout<<"#.....#......##.....#......##.....#......#    #----------#"<<endl;
  cout<<"##########################################    #----------#"<<endl;
  cout<<"#.#..#....#..##.#..#....#..##.#..#....#..#    #----------#"<<endl;
  cout<<"##########################################    ############"<<endl;
  return 0;
}

 

Guess you like

Origin www.cnblogs.com/SuperTer/p/luogu-P1000.html