1 Star 2 Fork 1

wyloving / TeachingAndLearing

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
1012_变换密码.cpp 259 Bytes
一键复制 编辑 原始数据 按行查看 历史
wyloving 提交于 2021-05-27 00:04 . 增加1012变换密码源码
#include <iostream>
#include <cstdio>
using namespace std;
int main(){
int n;
cin>>n;
int r=n%123;
if(r>=97&&r<=122){
cout<<char(r);
}else{
r=n%91;
if(r>=65&&r<=90){
cout<<char(r);
}else{
cout<<'*';
}
}
return 0;
}
1
https://gitee.com/wyloving/TeachingAndLearing.git
git@gitee.com:wyloving/TeachingAndLearing.git
wyloving
TeachingAndLearing
TeachingAndLearing
master

搜索帮助