题解 2848: 基因相关性 摘要: #include using namespace std; int e; double c,z; char a[510],b[510]; in…… 题解列表 2023年12月27日 0 点赞 0 评论 244 浏览 评分:0.0
基因问题!! 摘要:解题思路:求比例和输入的阈值比大小注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[501],b[501]; …… 题解列表 2023年11月26日 0 点赞 0 评论 485 浏览 评分:0.0
基因相关性 摘要:注意事项:%c会读取任何字符,包括空格、制表符和换行符参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>int main(){ …… 题解列表 2023年11月06日 0 点赞 0 评论 237 浏览 评分:0.0
2848: 基因相关性 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char s[1000],a[1000];int main(){ doubl…… 题解列表 2023年11月04日 0 点赞 0 评论 313 浏览 评分:0.0
基因相关性(不知道为什么用gets,还是fgets,都通过不了,有没有大佬来说一下) 摘要:参考代码: ```c #include #include #define MAX 500 int main() { double c; scanf("%lf",&c); get…… 题解列表 2023年09月21日 0 点赞 0 评论 348 浏览 评分:0.0
2848: 基因相关性 摘要:#include<stdio.h> #include<math.h> #include<string.h> # define N 100001 int main() { c…… 题解列表 2023年03月05日 0 点赞 0 评论 333 浏览 评分:0.0
2848-基因相关性 摘要:解题思路:注意事项:如果本题采用gets()的输入方法,那么会一直报错,不清楚为什么。scanf()就不会报错。参考代码:#include<stdio.h> #include<string.h> …… 题解列表 2023年06月20日 0 点赞 0 评论 225 浏览 评分:0.0
字符串--3.基因相关性 摘要:解题思路: 得用scanf("%s",str)输入字符串,用gets(str)会结果错误,原因可能是复制输入字符的时候有空格;区别:scanf("%s",str)---遇到空格就停止; …… 题解列表 2023年03月24日 0 点赞 0 评论 391 浏览 评分:0.0
基因相关性 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>int main(){ char a[1010],b[1010]…… 题解列表 2023年04月12日 0 点赞 0 评论 284 浏览 评分:0.0
编写题解 2848: 基因相关性,python超简单 摘要:(python学子仔细读题哦)n = float(input()) DNA1 = input() DNA2 = input() # 比对两条DNA序列 matching_pairs = 0 …… 题解列表 2024年03月29日 0 点赞 0 评论 753 浏览 评分:4.7