题目1127:简单密码
来源:互联网 发布:电脑摄像头美化软件 编辑:程序博客网 时间:2024/04/30 01:02
#include <iostream>#include <algorithm>#include <queue>#include <vector>#include <cstring>#include <stack>#include <string>#include <string.h>#include <stdio.h>#include <cmath>#include <map>#include <functional>#include <set>#include <limits.h>#include <math.h>#include <ctype.h>using namespace std;//1127string s,e,str;int main(){ //freopen("input.txt","r",stdin); while(getline(cin,s)&& s!="ENDOFINPUT"){ getline(cin,str); int l=str.length(); for(int i=0;i<l;i++) { if(str[i]<='Z' && str[i]>='A') { if(str[i]>='F') printf("%c",char(str[i]-5)); else printf("%c",char(str[i]+21)); } else printf("%c",str[i]); } puts(""); getline(cin,e); } return 0;}/************************************************************** Problem: 1127 User: cust123 Language: C++ Result: Accepted Time:10 ms Memory:1520 kb****************************************************************/
0 0
- 题目1127:简单密码
- 题目1127:简单密码
- 题目1127:简单密码
- 题目1127:简单密码
- 九度OJ 题目1127:简单密码
- 九度OJ 题目1127:简单密码
- 题目1134:密码翻译
- 题目1134:密码翻译
- 题目1538:GrassLand密码
- 题目1134:密码翻译
- 题目1538:GrassLand密码
- 题目1134:密码翻译
- 题目1134:密码翻译
- 简单密码
- 简单密码
- 简单密码
- 简单密码
- 简单密码
- java中RSA加解密的实现
- http的get方法
- VSCode开发C#(调用 Net Core)精简步骤说明
- .test()和.match()方法的异同
- 头文件搜索顺序
- 题目1127:简单密码
- 【重要更新】MyEclipse 2017 Stable 1.0发布|附下载
- Docker学习之Tomcat容器的安装使用
- spring boot 1.5.2自动配置kafka
- 树上路径
- ios10 关于app info.plist权限设置
- ubuntu下运行ROS时碰到的时间问题
- 隐藏标题栏状态栏的办法
- 区块链技术开发发展到现在用途都在哪些方面