(pojstep1.1.1)poj 1298(直叙式模拟)
来源:互联网 发布:李兴华java百度网盘 编辑:程序博客网 时间:2024/05/22 12:17
/* * 1298_1.cpp * * Created on: 2013年10月5日 * Author: Administrator */#include <iostream>#include <string>using namespace std;int main(){string str;while(cin >> str){cin.ignore(INT_MAX,'\n');if(str == "ENDOFINPUT"){break;}getline(cin,str,'\n');int i;for(i = 0 ; i < str.length() ; ++i){if(isalpha(str[i])){str[i] = 'A' + (str[i] - 'A' + 21) % 26;}}cout << str << endl;cin >>str;}}
- (pojstep1.1.1)poj 1298(直叙式模拟)
- (pojstep1.1.2)2654(直叙式模拟)
- (pojstep1.3.1)1017(构造法模拟)
- (pojstep1.1)1753(dfs+枚举)
- POJ 1017 模拟啊模拟
- POJ 1565 水 模拟
- Poj 模拟题
- POJ 1068 括号模拟
- POJ 2453 简单模拟
- POJ 2833 简单模拟
- POJ 1016 模拟题
- 模拟退火 poj 1379
- poj 1379 模拟退火
- poj 3285 模拟退火,
- POJ 1068 Parencodings 模拟
- POJ 3295 Tautology 模拟
- POJ 1099 模拟
- poj 3427 模拟
- 追寻大学的理性
- 怎样写好一份IT技术岗位的简历
- 面向对象知识点
- asp.net 的那点事(2、浏览器和一般处理程序)
- ubuntu 12.04系统黑屏,登录界面黑屏,命令行界面可用
- (pojstep1.1.1)poj 1298(直叙式模拟)
- 最大连续递增数字串
- java学习路线图------(java1234)
- 中继器,集线器,网桥
- java基础---内部类和匿名内部类
- Codeforces Round #204 (Div. 1) A. Jeff and Rounding
- 如何用10只实验鼠检验出1000个药瓶中哪个有毒药?
- 第一题解法二
- 兄弟单词 — 两种算法实现