HDU 4706 Children's Day
2015-08-24 13:57
204 查看
Children's Day
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1551 Accepted Submission(s): 1000
[align=left]Problem Description[/align]
Today is Children's Day. Some children ask you to output a big letter 'N'. 'N' is constituted by two vertical linesand one diagonal. Each pixel of this letter is a character orderly. No tail blank is allowed.
For example, this is a big 'N' start with 'a' and it's size is 3.
a e bdf c g
Your task is to write different 'N' from size 3 to size 10. The pixel character used is from 'a' to 'z' continuously and periodic('a' is reused after 'z').
[align=left]Input[/align]
This problem has no input.
[align=left]Output[/align]
Output different 'N' from size 3 to size 10. There is no blank line among output.
[align=left]Sample Output[/align]
[pre]
a e bdf c gh n
i mo
jl p
k q
.........
r j
[/pre]
Hint
Not all the resultsare listed in the sample. There are just some lines. The ellipsis expresseswhat you should write.
[align=left]Source[/align]
2013 ACM/ICPC Asia Regional Online —— Warmup
呵呵哒~~~
#include <stdio.h> int main(void) { printf("a e\n"); printf("bdf\n"); printf("c g\n"); printf("h n\n"); printf("i mo\n"); printf("jl p\n"); printf("k q\n"); printf("r z\n"); printf("s ya\n"); printf("t x b\n"); printf("uw c\n"); printf("v d\n"); printf("e o\n"); printf("f np\n"); printf("g m q\n"); printf("h l r\n"); printf("ik s\n"); printf("j t\n"); printf("u g\n"); printf("v fh\n"); printf("w e i\n"); printf("x d j\n"); printf("y c k\n"); printf("zb l\n"); printf("a m\n"); printf("n b\n"); printf("o ac\n"); printf("p z d\n"); printf("q y e\n"); printf("r x f\n"); printf("s w g\n"); printf("tv h\n"); printf("u i\n"); printf("j z\n"); printf("k ya\n"); printf("l x b\n"); printf("m w c\n"); printf("n v d\n"); printf("o u e\n"); printf("p t f\n"); printf("qs g\n"); printf("r h\n"); printf("i a\n"); printf("j zb\n"); printf("k y c\n"); printf("l x d\n"); printf("m w e\n"); printf("n v f\n"); printf("o u g\n"); printf("p t h\n"); printf("qs i\n"); printf("r j\n"); return 0; }
相关文章推荐
- 徐汉彬:Web系统大规模并发——电商秒杀与抢购
- 从关系库导入数据到hive-hbase表中
- [LeedCode OJ]#120 Triangle
- 中间件简单
- 【敏捷】扑克牌估算
- 做得到么
- jquery 元素选择器集合
- Spring MVC 原理详解
- 【NOIP2003TG/codevs1085】 数字游戏 解题报告
- Shell脚本查看linux系统性能瓶颈
- KMP算法
- C++ 入门教程(二) 第一个C++程序:Hello World
- Android SDK 在线更新镜像服务器资源
- 图像处理职位面试题(图像处理+c++)
- 黑马程序员-------Java笔记-------IO题(常见的2种题型)
- Android SurfaceView实战 打造抽奖转盘
- 【Apple文档阅读笔记】View编程指南---View
- C# 中的委托和事件【转载】
- Examining Open vSwitch Traffic Patterns
- Sqlite学习笔记(三)&&WAL性能测试