题解列表

筛选

金币超简单

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){    int n, i, j, k = 0, s = 0;    scanf("%d", &n);    fo……

C语言简便易懂

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){     int n,s=0;     scanf("%d",&n);     while(n!=0)     ……

题解 : DNA【Python】

摘要:解题思路:对于一个单位的dna串,我们可以先打印其a-1行,重复b-1次,然后打印最后一行:参考代码:def dna(a):     # 先创建 (a-1)*a 的二维列表,元素都为 空格&#39;……

字符逆序(常规解法)

摘要:解题思路:gets()获取包含空格字符串,计算长度,常规逆序.注意事项:参考代码:……