题解列表

筛选

题解 : DNA【Python】

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

C语言简便易懂

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

金币超简单

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

Cylinder题解简短易懂python

摘要:解题思路:注意事项:注意分两种情况讨论,还有不要自己定义pi。。。。参考代码:import mathpi=math.piwhile True:    w,h=map(float,input().spl……