1003将字符向后转变包含注意事项kirito 摘要:解题思路:注意事项:<<和>>的临时表达式会改变字符变量为整型(即整型提升),但是赋值语句不会这样参考代码:#include<iostream>using name…… 题解列表 2026年04月03日 0 点赞 0 评论 46 浏览 评分:0.0
在哪你都看得到我记住这句话 摘要:解题思路:按照题意去做就好了注意事项:参考代码:#include<iostream>usingnamespacestd;intm…… 题解列表 2026年03月19日 0 点赞 0 评论 151 浏览 评分:0.0
c语言大一新生 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>/* run this program using the consol…… 题解列表 2025年11月01日 0 点赞 0 评论 1396 浏览 评分:10.0
C++:包含WXYZ的两种方法介绍 摘要:解题思路:方法一:利用ASCII码是连续的直接解题,对字符的ASCII码进行加减从而改变字符方法二:把26个字母的ASCII码变成循环,...->Y->Z->A->B->…… 题解列表 2025年08月19日 3 点赞 0 评论 1237 浏览 评分:10.0
求解这简单的凯撒密码加密 摘要:解题思路:lip = input()result = ""for i in lip: i = chr(ord(i) + 4) i…… 题解列表 2025年05月31日 9 点赞 0 评论 1964 浏览 评分:6.7
T1003 密码破译 摘要:解题思路:注意事项:参考代码:s=input()lst=[]lst=[ord(i) for i in s]for i in lst: i=chr(i+4) &nb…… 题解列表 2025年05月01日 2 点赞 0 评论 1593 浏览 评分:0.0
C语言通用解法,通用解法 摘要:```c#include int main() { char s[10]; scanf("%s",s); int i=0; while(s[i]!…… 题解列表 2025年03月07日 40 点赞 0 评论 3090 浏览 评分:7.0
编写题解 1003: [编程入门]密码破译 摘要:解题思路:译码规律是:用原来字母后面的第4个字母代替原来的字母. 注意事项:参考代码:#include <stdio.h>int main() { // 初始化变量 char c1 =…… 题解列表 2024年12月05日 26 点赞 0 评论 5004 浏览 评分:10.0
密码破译(C语言新手) 摘要:解题思路:根据ASCII码表可知,只需将它们的数值加4即可得到想要的数据注意事项:参考代码:#include <stdio.h>int main(){ char a,b,c,d,e; scanf("%…… 题解列表 2024年11月10日 23 点赞 1 评论 3054 浏览 评分:10.0
利用数组和循环结构的题解(C语言) 摘要:解题思路:将用户输入字母利用ASCII码+4来进行破译。注意事项:不了解ASCII码的可以先去学习一下ASCII码。参考代码:#include<stdio.h>int main(){ char …… 题解列表 2024年11月09日 9 点赞 0 评论 1307 浏览 评分:9.9