1042: [编程入门]电报加密 摘要:解题思路:看了一些题解,感觉有些复杂,或许不需要指针来辅助操作,只需要在本身上加一就好了。我们开辟一个字符数组进行存储输入,然后对数组内的内容进行判断,如果是a~y的内容让其本身加一,对于z进行特殊判…… 题解列表 2021年12月28日 0 点赞 0 评论 712 浏览 评分:9.9
c语言巧妙解答(小白) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[1001]; char b[1001]; gets(a); g…… 题解列表 2021年12月28日 1 点赞 0 评论 400 浏览 评分:0.0
c语言小方法 摘要:解题思路:先输出后面的 在输出前面的注意事项:风险大参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int n; scanf("…… 题解列表 2021年12月28日 0 点赞 1 评论 276 浏览 评分:9.9
c++处理,利用do-while循环解决 摘要:解题思路:(1)先想好怎么计算出位数?利用do-while循环指令,将输入的数分别除以十,得到余数和商,判断商是否为0;不是0则继续循环; do { b[i] = a % 10; a…… 题解列表 2021年12月28日 0 点赞 0 评论 751 浏览 评分:0.0
最最最简单题解,入门小白也看得懂 摘要:解题思路:首先注意是输入一行数!!!!!!!使用map(x,y)将三个数拿出来。函数意思是将y拿来作用到x上。这里指在y里面拿出来一个数将它int(),就是强制转换为整形变量split()默认是以空格…… 题解列表 2021年12月28日 0 点赞 3 评论 1474 浏览 评分:9.4
数对直接输出结果 摘要:解题思路:注意事项:参考代码:a=int(input())for i in range(1,a+1): if a%i==0: print(str(i)+" * "+str(int(…… 题解列表 2021年12月28日 0 点赞 0 评论 386 浏览 评分:0.0
A+B for Input-Output Practice (II)-题解(C语言代码) 摘要:#include <stdio.h> int main() { int n, a, b; scanf("%d", &n); while( n-- ){ scanf( "%d%d"…… 题解列表 2021年12月28日 0 点赞 0 评论 435 浏览 评分:9.3
1673: 数据结构-集合union-C语言 摘要:```c //集合union #include #include typedef struct node { int data; struct node *next;…… 题解列表 2021年12月28日 0 点赞 0 评论 691 浏览 评分:7.3
1672: 迷宫问题-C语言 摘要:```c //迷宫问题 //此篇看着题解中另外一位佬写出来的,记录一下自己的做题 #include #include #include #define N 100 #define …… 题解列表 2021年12月28日 0 点赞 0 评论 463 浏览 评分:9.9
使用set来统计数 摘要:解题思路:注意事项:参考代码:a=int(input())b=input().split()m=[]for i in range(0,len(b)): m.append(int(b[i]))n=…… 题解列表 2021年12月28日 0 点赞 0 评论 350 浏览 评分:0.0