2852: 配对碱基链 水题解 摘要:解题思路: A变T, C变G注意事项:参考代码:#include <iostream> // #include <sstream> // #include <cstdio> // #includ…… 题解列表 2023年02月14日 0 点赞 0 评论 248 浏览 评分:0.0
编写题解 1477: 字符串输入输出函数 摘要:编写题解 1477: 字符串输入输出函数 ``` #include using namespace std; int main() { string s1,s2; cin>>s1>>…… 题解列表 2023年02月15日 0 点赞 0 评论 248 浏览 评分:0.0
编写题解 1687: 数据结构-字符串连接 摘要:编写题解 1687: 数据结构-字符串连接 ``` #include using namespace std; int main() { string s1,s2; for(int …… 题解列表 2023年02月15日 0 点赞 0 评论 201 浏览 评分:0.0
C语言训练-斐波纳契数列(简短版) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,a[40]; scanf("%d",&n); a[0]=0; a[1]=…… 题解列表 2023年02月15日 0 点赞 0 评论 136 浏览 评分:0.0
<循环> 求1+2+3+...+n的值(C语言) 摘要:#include<stdio.h> int main() { long long n,s=0; scanf("%lld", &n); for(int i=1;i<=n;i++) …… 题解列表 2023年02月15日 0 点赞 0 评论 151 浏览 评分:0.0
斐波纳契数列(C语言) 摘要:#include<stdio.h> int main() { int fib[40] = { 1,1 }; int N; scanf("%d", &N); for (int i =…… 题解列表 2023年02月15日 0 点赞 0 评论 119 浏览 评分:0.0
题解 1798: 汪汪与打针(C) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int m(int a,int b) //计数函数{ int i,x=120,s=a; //i是最后的次数,x是本次的花费…… 题解列表 2023年02月15日 0 点赞 0 评论 142 浏览 评分:0.0
日期排序 冒泡排序加结构体 摘要:解题思路:注意事项:输出时%02d补齐0,否则左侧只会输出2不会输出02参考代码:#include<stdio.h>struct date{ int y; int m; int d;…… 题解列表 2023年02月15日 1 点赞 0 评论 296 浏览 评分:0.0
[编程入门]阶乘求和 摘要:解题思路:注意事项:参考代码:sum=0t=1num=int(input())for i in range(1,num+1): t=t*i sum+=tprint(sum)…… 题解列表 2023年02月15日 0 点赞 0 评论 133 浏览 评分:0.0
1015: [编程入门]求和训练 摘要:解题思路:注意事项:参考代码:a,b,c=map(int,input().split())a1,b1,c1=0,0,0for i in range(a+1): a1+=ifor j in ran…… 题解列表 2023年02月15日 0 点赞 0 评论 113 浏览 评分:0.0