UVa 1605 Building for UN ——思路题
来源:互联网 发布:java设计用户管理 编辑:程序博客网 时间:2024/06/02 07:07
#include <cstdio>#include <cstring>using namespace std;const char ans[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";int main(){ int n; while (scanf("%d", &n) == 1) { printf("2 %d %d\n", n, n); for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { printf("%c", ans[i]); } printf("\n"); } printf("\n"); for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { printf("%c", ans[j]); } printf("\n"); } } return 0;}
阅读全文
1 0
- UVa 1605 Building for UN ——思路题
- UVA - 1605 Building for UN (思路题)
- uva 1605 ——Building for UN
- UVA 1605 Building for UN 机智题。。
- uva 1605 building for UN ——yhx
- uva 1605 building for UN ——yhx
- UVA 1605 - Building for UN
- Uva - 1605 - Building for UN
- UVA 1605 Building for UN
- uva 1605 Building for UN
- UVA 1605 Building for UN
- UVA 1605Building for UN
- uva uva 1605 - Building for UN
- Building for UN UVA
- Building for UN UVA
- Building for UN UVA
- UVA - 1605 Building for UN 水题
- UVA 1605(p236)----Building for UN
- (0001) H5开发之WebStorm 开发H5如何用手机打开测试
- 判断两个数组是否相等的方法
- 搭建JEESZ分布式架构8--消息中间件安装单、多节点
- NOIP2017模拟赛(三)总结
- 安全机构调查称WannaCry攻击者或成员可能使用中文
- UVa 1605 Building for UN ——思路题
- scuoj 4438 Censor
- 442. Find All Duplicates in an Array[Medium]
- openstack中VM迁移
- iOS多线程GCD简单用法
- 15 个常用的 JavaScript 正则表达式
- Numpy 索引
- vue $http请求服务
- ListView Columns Name屬性為空