[NOI题库]1.1编程基础之输入输出 题解
2015-09-22 20:51
274 查看
今年NOIP居然"各有两道题目从NOI题库中抽取并在原题基础上改动后使用",不好好刷题怎么行。
10.cpp
01 Hello, World!
根据题意直接输出 "Hello, World!" 即可。#include <iostream> using namespace std; int main() { 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; cout<<"########################################## ############ ############## ############"<<endl; return 0; }
10.cpp
相关文章推荐
- java中volatile关键字的含义
- qt渐变效果
- python 错误 解决办法
- Java版斯诺克开源分享
- 在Myeclipse8.5如何安装Jython
- JAVA问题总结之23--生成一个长度为100的随机整数list
- Java版斯诺克开源分享
- C++中函数的重载
- 在web.xml中注册IntrospectorCleanupListener监听器以解决struts等框架可能产生的内存泄露问题
- C++ 堆 和 堆 分析
- C++函数的默认值问题
- c#特性加反射实现解耦
- More Effective C++ 条款16 谨记80-20法则
- c/c++ 获取当前程序(EXE)所在的路径
- opencv在C++窗体程序中 导包出错
- 如何在代码中动态为TextView/Button设置drawableRight
- 关于FFTW3和NE10源代码库的编译
- map初次使用
- web.xml中的contextConfigLocation在spring中的作用
- JNI