uva-10921
来源:互联网 发布:淘宝买的csgo不能交易 编辑:程序博客网 时间:2024/06/06 04:55
#include<iostream>#include<cstdio>#include<string.h>using namespace std;char num[50]={'2','2','2','3','3','3','4','4','4','5','5','5','6','6','6','7','7','7','7','8','8','8','9','9','9','9'};//注意要加‘’ char s[100];int main(){int i;cin>>s;for(i=0;i<strlen(s);i++){if(s[i]>='A'&&s[i]<='Z') printf("%c",num[s[i]-'A']);elseprintf("%c",s[i]);}cout<<endl;return 0;}
0 0
- uva-10921
- uva
- UVA
- UVA
- UVA
- uva
- UVA
- UVA
- UVA
- UVA
- UVA
- UVA
- UVA
- UVA
- UVA
- UVA
- UVA
- UVA
- The Secrets of Oracle Row Chaining and Migration
- 485线路保护
- ——基于方法的权限控制
- PTC_Mathcad Prime3.0 矩阵的运算
- 【Android游戏开发十四】深入Animation,在SurfaceView中照样使用Android—Tween Animation!
- uva-10921
- hdu2082找单词(母函数)
- [leetcode] 199. Binary Tree Right Side View
- ROS在多机器人上的运行
- Dropout中隐层节点的忽略比例与DAE中加噪比例参数的区别
- 杭电oj 1014
- POJ3273 二分与最大值最小化
- android 滚动条下拉反弹的效果(类似微信朋友圈)
- POJ 1830 (高斯消元)