UVa 10921 - Find the Telephone
来源:互联网 发布:小马网络怎么样 编辑:程序博客网 时间:2024/05/20 04:08
题目:手机键盘加密。
分析:简单题。建立映射表,直接转换即可。
#include <stdio.h>#include <stdlib.h>#include <string.h>char v[]="22233344455566677778889999"; char w[32];int main(){ while ( scanf("%s",w) != EOF ) {for ( int i = 0 ; i < strlen(w) ; ++ i )if ( w[i] >= 'A' && w[i] <= 'Z' )printf("%c",v[w[i]-'A']);else printf("%c",w[i]);printf("\n");} return 0;}
- UVa 10921 - Find the Telephone
- UVA 10921 Find the Telephone
- UVa 10921 Find the Telephone (water ver.)
- UVA - 10921 - Problem B - Find the Telephone
- The Telephone
- UVA 4683 - Find The Number
- UVa 10219 - Find the ways !
- Find the Permutations [Uva 11077]
- Frequencies of the Telephone Tones
- UVa 11077 Find the Permutations / 置换
- UVA 11077 Find the Permutations(置换+dp)
- UVA 10548 - Find the Right Changes(数论)
- UVA 11077 - Find the Permutations(递推)
- uva 11077 - Find the Permutations(置换)
- UVA - 11077 Find the Permutations (置换)
- UVA 11077 Find the Permutations DP
- UVA 11077 Find the Permutations(置换)
- uva 11077 - Find the Permutations(置换+dp)
- Access注入点高级运用总结
- 研磨设计模式之简单工厂模式-2
- 让span有固定宽度 兼容IE和firefox
- Application .SetCompatibleTextRenderingDefault 方法
- C++调用exe文件
- UVa 10921 - Find the Telephone
- Unity3d 管理多个摄像机
- Apache POI练习生成EXCEL(1)
- 秒杀多线程第一篇 多线程笔试面试题汇总 .
- vc编译报错 unresolved external symbol __imp__PlaySoundA@12 解决办法
- 百度地图从零学起(五)地图事件
- 汇编
- 三星A9四核 Exynos 4412调试android4.0.4,极速开机
- 四极管:关于__android_log_print错误提示