UVa 10082 WERTYU
2016-11-27 11:21
323 查看
//#include <iostream> //#include <iomanip> #include <cstdio> #include <cmath> //using namespace std; const char s[] = "`1234567890-=QWERTYUIOP[]\ASDFGHJKL;'ZXCVBNM,./"; int main() { //ios::sync_with_stdio(false); //FILE *f = fopen("in.txt", "r"); char c; int i; while((c = getchar()) != EOF) { for(i = 1; s[i] && s[i] != c; i++); if(s[i]) printf("%c", s[i - 1]); else printf("%c", c); } //fclose(f); return 0; }
相关文章推荐
- (UVA)10082 - WERTYU
- 例题3_2 WERTYU(UVa10082)
- 《算法竞赛入门经典2ndEdition 》例题3-2 WERTYU(WERTYU, Uva10082)
- UVA 10082 WERTYU
- UVa10082 - WERTYU
- UVa10082-WERTYU
- 3-2 WERTYU(WERTYU,UVa10082)
- WERTYU UVA - 10082
- UVA - 10082 WERTYU
- uva-10082 - WERTYU
- UVa 10082:WERTYU
- UVa10082_WERTYU
- uva 10082 - WERTYU
- UVa--10082--WERTYU
- WERTYU (WERTYU, UVa10082)
- uva 10082 WERTYU
- UVA 10082 WERTYU
- Uva 10082 WERTYU
- UVA 10082 WERTYU字符串处理
- UVa 10082 - WERTYU