FZU2034Password table(水题)
来源:互联网 发布:按键精灵软件 编辑:程序博客网 时间:2024/06/05 19:06
题目:http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=31893
代码:
#include<stdio.h>#include<string.h>using namespace std;int maps[15][15];int main(){ int t; scanf("%d",&t); for(int cas=1;cas<=t;cas++) { int n,m,q; scanf("%d%d%d",&n,&m,&q); for(int i=1;i<=n;i++) { for(int j=1;j<=m;j++) { scanf("%d",&maps[i][j]); } } char base[1005]; printf("Case %d:\n",cas); for(int i=0;i<q;i++) { scanf("%s",base); for(int j=0;j<strlen(base);j=j+2) { //printf("%d %d ",base[j+1],base[j]-'A'+1); printf("%02d",maps[base[j+1]-'0'][base[j]-'A'+1]); } printf("\n"); } }}
0 0
- FZU2034Password table(水题)
- fzu 2034 Password table(水题)
- table表头固定(一个table)
- HDU2135 Rolling table【水题】
- table类(1)
- 导航条(table)
- 创建表格(Table)
- 表(table)
- Hash Table(哈希表)
- bootstrap-table(一)
- bootstrap-table(二)
- bootstrap-table(三)
- 哈希表(Hash Table)
- Multiplication Table (二分)
- Table Decorations(贪心)
- Lua table(表)
- Lua table(表)
- CSS Table(表格)
- 哈夫曼树的编码实现
- java基本数据类型&java变量类型
- 【安装体验】MobSF,一款开源移动安全测试框架
- C++string:查找、替换、插入、删除等
- 推导相机变换矩阵
- FZU2034Password table(水题)
- SQLite错误码总结
- 欢迎使用CSDN-markdown编辑器
- The reason why cpufreq sometimes can not reach that high speed...
- Java学习笔记之常用方法类(三) Data和Calendar类、Math、BigInteger和Random类、Random类
- Android 沿着线绘制文字
- java并发编程
- 5..4
- 穿越矩阵