当前位置:网站首页>1136: password translation
1136: password translation
2022-06-30 14:50:00 【I would, I think】
#include<string.h>
#include<iostream>
using namespace std;
int main()
{
char a[80];
char b[80];
cin.getline(a,80);
for(int i=0;a[i]!='\0';i++)
{
if((a[i]>='a'&&a[i]<'z')||(a[i]>='A'&&a[i]<'Z'))
{
b[i]=a[i]+1;
}
else if(a[i]=='Z')
{
b[i]='A';
}
else if(a[i]=='z')
{
b[i]='a';
}
else
{
b[i]=a[i];
}
}
for(int i=0;i<strlen(a);i++)
{
cout<<b[i];
}
return 0;
} 边栏推荐
- Non decreasing column
- Lost connection to the flow server (0 retries remaining): |Out of retries, exiting! Error reporting solution (flow)
- MV3 04_ Introducing Manifest V3
- The kth largest element in the sorted array
- 浅析卧式加工中心上不规则台阶孔存在问题
- Finding the median of two arrays by dichotomy
- [extensive reading of papers] multimodal joint attribute prediction and value extraction for e-commerce product
- 2021-08-05 leetcode notes
- How to program and process such parts?
- [extensive reading of papers] sentimental analysis of online reviews with a hierarchical attention network
猜你喜欢

LIS error: this configuration section cannot be used in this path

CCF elimination games (Full Score code + problem solving ideas + skill summary) February 2, 2015
![[buuctf] [actf2020 freshman competition]include](/img/42/50439290177fdea5f431e315cac1a1.jpg)
[buuctf] [actf2020 freshman competition]include

2021-05-12

Att & CK red team evaluation field (I)

Using docker to manage MySQL services under Windows

day02

Solve the problem that codeblocks20.03 on win11 cannot run for the first time

On simple code crawling Youdao translation_ 0's problem (to be solved)

【BUUCTF】 Have Fun
随机推荐
Learn about data kinship JSON format design from sqlflow JSON format
August 24, 2021 deque queue and stack
数控加工中心打刀缸工作原理及故障处理
Att & CK red team evaluation field (I)
XSS challenge (6-10) more detailed answers
Add attributes to multimode
Machine learning feature selection
How to program and process such parts?
Ctfshow getting started with the web (ThinkPHP topic)
How to use Alibaba Vector Icon
Logiciel de récupération de données easyrecovery15 téléchargement
左旋梯形螺纹的编程
@Role of ResponseBody
浅析卧式加工中心上不规则台阶孔存在问题
Distributed -- openresty+lua+redis
2021-08-05 leetcode notes
[buuctf] [actf2020 freshman competition]include
jsPlumb. Deleteeveryconnection is not a function & jsplumb clear canvas jsplumb delete all nodes and all connections
中信期货开户麻烦吗安全吗,期货开户手续费是多少,能优惠吗
[untitled]