HDU4706:Children's Day
来源:互联网 发布:11支持mac系统吗 编辑:程序博客网 时间:2024/06/05 11:49
Problem Description
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.
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').
For example, this is a big 'N' start with 'a' and it's size is 3.
a ebdfc 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').
Input
This problem has no input.
Output
Output different 'N' from size 3 to size 10. There is no blank line among output.
Sample Output
[pre]a ebdfc gh ni mojl pk q.........r j[/pre]HintNot all the resultsare listed in the sample. There are just some lines. The ellipsis expresseswhat you should write.
题意:输出由26个字母组成的长度3~10的N
什么叫暴力?
于是我的代码告诉了你
什么叫暴力
#include <stdio.h>#include <string.h>#include <algorithm>using namespace std;int main(){ printf("a e\nbdf\nc g\n"); printf("h n\ni mo\njl p\nk q\n"); printf("r z\ns ya\nt x b\nuw c\nv d\n"); printf("e o\nf np\ng m q\nh l r\nik s\nj t\n"); printf("u g\nv fh\nw e i\nx d j\ny c k\nzb l\na m\n"); printf("n b\no ac\np z d\nq y e\nr x f\ns w g\ntv h\nu i\n"); printf("j z\nk ya\nl x b\nm w c\nn v d\no u e\np t f\nqs g\nr h\n"); printf("i a\nj zb\nk y c\nl x d\nm w e\nn v f\no u g\np t h\nqs i\nr j\n"); return 0;}
- HDU4706:Children's Day
- HDU4706-Children's Day
- HDU4706 Children's Day
- ACM-简单题之Children's Day——hdu4706
- HDU4706——Children's Day(简单模拟)
- Children's Day
- Rainy Children's Day
- Children's Day
- Children's Day
- hdu 4706 Children's Day
- hdu 4706 Children's Day
- hdoj 4706 Children's Day
- Hdu 4706 Children's Day
- HDU 4706 Children's Day
- Children's Day(4706)
- HDU 4706 Children's Day
- HDOJ 4706 Children's Day
- HDU 4706 Children\'s Day
- Android笔记 Application对象的使用-数据传递以及内存泄漏问题
- Activity的LaunchMode和taskAffinity,有点绕
- 黑马程序员 IO流
- vim配置备份
- 线性表——链式 学生系统不完全版 c语言版
- HDU4706:Children's Day
- (2)入门指南——(8)原始的js代码和jquery对比(Plain JavaScript vs. jQuery)
- Windows Socket编程
- android service全面总结
- UVALive 2519 Radar Installation 雷达扫描 区间选点问题
- 关于Debug和Release的区别
- 面试笔试前必看之C/C++面试之引用
- XOR加密初识
- 反思