【编程入门】密码破译 摘要:解题思路:破译之后的密码是在为破译的密码在ASCII的值上加4注意事项:if(a[i]=='\n')break;要注意添加这一段程序,就可以在输入回车之后,跳出遍历数组a的循环参考代码…… 题解列表 2024年04月17日 1 点赞 0 评论 957 浏览 评分:0.0
C语言密码编译—putchar 摘要:参考代码:#include<stdio.h> int main() { char c1 = 'C', c2 = 'h', c3 = 'i', c4…… 题解列表 2024年04月04日 0 点赞 0 评论 702 浏览 评分:0.0
开数组存字符按位+4再输出 摘要:解题思路:注意事项:参考代码:#include<cstdio>#include<iostream>#include<cstring>using namespace std;int main(){ in…… 题解列表 2024年03月12日 0 点赞 0 评论 546 浏览 评分:0.0
c语言for简单循环 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[5]; int i; for (i = 0;i<5;i++) { …… 题解列表 2023年12月23日 1 点赞 1 评论 582 浏览 评分:0.0
密码破译(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char str[5]; int i; scanf("%s",str); for(i=0…… 题解列表 2023年12月20日 0 点赞 0 评论 506 浏览 评分:0.0
新手试了试,大佬们看看 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,sz; char arr[20]={0}; gets(arr); sz = sizeof(a…… 题解列表 2023年11月28日 0 点赞 0 评论 470 浏览 评分:0.0
1003密码破译 摘要:解题思路:字符+4操作/*要将"China"译成密码,译码规律是:用原来字母后面的第4个字母代替原来的字母.例如,字母"A"后面第4个字母是"E"."E"代替"A"。因此,"China"应译为"Glm…… 题解列表 2023年11月24日 0 点赞 0 评论 702 浏览 评分:0.0
1003c语言代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ char c1,c2,c3,c4,c5; scanf("%c%c%c%c%c",&c1,&c2,&c3,&c4…… 题解列表 2023年11月05日 0 点赞 0 评论 535 浏览 评分:0.0
[编程入门]密码破译 摘要:解题思路:自己看注意事项:参考代码:#include <stdio.h>void encryptPassword(char* str) { int i = 0; while (str[i]…… 题解列表 2023年10月29日 0 点赞 0 评论 888 浏览 评分:9.9
[编程入门]密码破译 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char c1,c2,c3,c4,c5; scanf("%c%c%c%c%c",&c1,&c2,&c…… 题解列表 2023年10月28日 0 点赞 0 评论 587 浏览 评分:0.0