[编程入门]电报加密-题解(C语言代码) 摘要:解题思路:注意事项:注意单独判断‘z’,如果是‘z’,单独赋值‘a’给他;参考代码:#include <stdio.h>#include <string.h>int main(){ int i;…… 题解列表 2020年11月27日 0 点赞 0 评论 293 浏览 评分:0.0
[编程入门]电报加密-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main() { char a[1024]; gets(a);…… 题解列表 2020年11月24日 0 点赞 0 评论 371 浏览 评分:0.0
[编程入门]电报加密-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include#define N 100int main(){ char a[100];//定义即将输入的字符串 int i,j; j=0;//j一定…… 题解列表 2020年11月18日 0 点赞 0 评论 636 浏览 评分:0.0
[编程入门]电报加密-题解(C语言代码) 摘要:参考代码:#include <stdio.h>#include <stdlib.h>#include<string.h>int main(){ char string[1000]; sca…… 题解列表 2020年11月18日 0 点赞 0 评论 506 浏览 评分:0.0
[编程入门]电报加密-题解(C++代码)去掉空格的简单做法 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cstring>#include <cstdio>using namespace std;int main(){…… 题解列表 2020年11月17日 0 点赞 0 评论 1483 浏览 评分:9.9
[编程入门]电报加密-题解(C语言代码) 摘要:解题思路:每一个字母都有自己对应的ASCII值,相邻字母的ASCII值仅差1。注意事项:参考代码:#include#includeint main(){ int i; char a[100]…… 题解列表 2020年11月15日 0 点赞 0 评论 1200 浏览 评分:7.3
[编程入门]电报加密-题解(C++代码)利用ASCII码对应的字母 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ string a; int…… 题解列表 2020年11月07日 0 点赞 0 评论 671 浏览 评分:0.0
[编程入门]电报加密-题解(Python代码) 摘要:参考代码:def fun1(str1): str2='' #字符串不可改变,故新建空字符串 for i in str1: if i.isalpha()…… 题解列表 2020年10月26日 0 点赞 0 评论 680 浏览 评分:5.5
[编程入门]电报加密-题解(C语言代码) 摘要:```c #include #include int main(){ char a[100]; int i,j; gets(a); j=strlen(a); for(i=0;i='a'…… 题解列表 2020年09月08日 0 点赞 1 评论 508 浏览 评分:8.7
[编程入门]电报加密-题解(C语言代码) 摘要:解题思路:本题的难点在于字母的绕回问题上,我们可以用表达式 ((ch - 'a') + n) % 26 + ' a'来解决这个问题,当需要小写就用小写a,需要大写就用大…… 题解列表 2020年08月29日 0 点赞 0 评论 738 浏览 评分:9.0