UVa 10222-Decode the Mad man
来源:互联网 发布:花瓣软件下载 编辑:程序博客网 时间:2024/06/11 17:20
就是美个字母错打了两位,输出该字母在键盘上的前两位。
#include <stdio.h>#include <string.h>#include <ctype.h>char *s = "qwertyuiop[]asdfghjkl;'zxcvbnm,.";int main (){ //freopen ( "input.txt", "r", stdin ); //freopen ( "output.txt", "w", stdout ); int i, c; while ( ( c = getchar ()) != EOF ) { //putchar ( c ); if ( isupper ( c ) ) c = tolower ( c ); for ( i = 1; s[i] && s[i] != c; ++i ) ; if ( s[i] ) putchar ( s[i - 2] ); else putchar ( c ); } return 0;}
- Uva 10222 - Decode the Mad man
- UVa 10222-Decode the Mad man
- UVa 10222 - Decode the Mad man
- UVa 10222 Decode the Mad man
- UVa 10785 The Mad
- UVA The Mad Numerologist
- The Mad Numerologist UVA
- uva 10785 The Mad Numerologist
- uva 10785 - The Mad Numerologist
- UVA 10785 - The Mad Numerologist
- Uva 10785 - The Mad Numerologist
- uva 10785The Mad Numerologist
- UVa 10785 - The Mad Numerologist
- UVA 10785 The Mad Numerologist
- UVA 10785 - The Mad Numerologist
- uva 10785 The Mad Numerologist
- UVa 10785 - The Mad Numerologist
- UVa:10785 - The Mad Numerologist
- TURBOC编译错误信息说明大全 C++错误提示
- Scramble String
- poj_3984_迷宫问题(搜索)
- 冰山一角,管窥中国互联网的地下世界
- div style常用属性
- UVa 10222-Decode the Mad man
- strdup与strcpy具体的区别
- 【Think社区】2013 PHP 技术峰会即将在上海举行
- 复选框全选或全不选
- <魔塔50层>android反编译破解
- Collection
- 程序员也有风骚的青春
- .NET 调用 Win32 API
- ACM在线答题(Judge Online)网站