c语言for简单循环 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[5]; int i; for (i = 0;i<5;i++) { …… 题解列表 2023年12月23日 1 点赞 1 评论 136 浏览 评分:0.0
开数组存字符按位+4再输出 摘要:解题思路:注意事项:参考代码:#include<cstdio>#include<iostream>#include<cstring>using namespace std;int main(){ in…… 题解列表 2024年03月12日 0 点赞 0 评论 188 浏览 评分:0.0
C语言密码编译—putchar 摘要:参考代码:#include<stdio.h> int main() { char c1 = 'C', c2 = 'h', c3 = 'i', c4…… 题解列表 2024年04月04日 0 点赞 0 评论 184 浏览 评分:0.0
1003: [编程入门]密码破译 摘要:解题思路:注意事项:参考代码:str = input().lower() s = "" for i in str: if i == 'w': s += …… 题解列表 2024年04月10日 2 点赞 0 评论 759 浏览 评分:0.0
【编程入门】密码破译 摘要:解题思路:破译之后的密码是在为破译的密码在ASCII的值上加4注意事项:if(a[i]=='\n')break;要注意添加这一段程序,就可以在输入回车之后,跳出遍历数组a的循环参考代码…… 题解列表 2024年04月17日 1 点赞 0 评论 471 浏览 评分:0.0
密码破译(包含字母WXYZ) 摘要:解题思路:主要思路ASCII的循环思路,目前我自己还处于新手入门阶段,所以很多原理性的内容,无法做出更多的解释。题解我是参考前边几个大佬的思路,按照我自己的理解写的,如果有不对的地方,欢迎指正。假设数…… 题解列表 2024年06月10日 1 点赞 0 评论 337 浏览 评分:0.0
编写题解 1003: [编程入门]密码破译(利用数组) 摘要:解题思路:利用数组和for循环输入输出,在循环中将输入值+4,再输出。注意事项:注意数组类型、数组下标。参考代码:#include<stdio.h> int main(){ char a[…… 题解列表 2024年09月14日 1 点赞 0 评论 546 浏览 评分:0.0
C语言通用解法,通用解法 摘要:```c#include int main() { char s[10]; scanf("%s",s); int i=0; while(s[i]!…… 题解列表 2025年03月07日 9 点赞 0 评论 1141 浏览 评分:0.0
T1003 密码破译 摘要:解题思路:注意事项:参考代码:s=input()lst=[]lst=[ord(i) for i in s]for i in lst: i=chr(i+4) &nb…… 题解列表 2025年05月01日 1 点赞 0 评论 373 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题3.7 (C语言代码) 摘要:解题思路:关键是ASCII码进行转化注意事项:无参考代码:#include<stdio.h>main(){char c1=C,c2=h,c3=i,c4=n,c5=a;printf("%c%c%c%c%…… 题解列表 2017年08月08日 1 点赞 0 评论 1062 浏览 评分:2.0