2848: 基因相关性 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char s[1000],a[1000];int main(){ doubl…… 题解列表 2023年11月04日 0 点赞 0 评论 127 浏览 评分:0.0
2848: 基因相关性 摘要:#include<stdio.h> #include<math.h> #include<string.h> # define N 100001 int main() { c…… 题解列表 2023年03月05日 0 点赞 0 评论 225 浏览 评分:0.0
2848-基因相关性 摘要:解题思路:注意事项:如果本题采用gets()的输入方法,那么会一直报错,不清楚为什么。scanf()就不会报错。参考代码:#include<stdio.h> #include<string.h> …… 题解列表 2023年06月20日 0 点赞 0 评论 126 浏览 评分:0.0
基因相关性 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>int main(){ char a[1010],b[1010]…… 题解列表 2023年04月12日 0 点赞 0 评论 162 浏览 评分:0.0
基因相关性(不知道为什么用gets,还是fgets,都通过不了,有没有大佬来说一下) 摘要:参考代码: ```c #include #include #define MAX 500 int main() { double c; scanf("%lf",&c); get…… 题解列表 2023年09月21日 0 点赞 0 评论 217 浏览 评分:0.0
字符串--3.基因相关性 摘要:解题思路: 得用scanf("%s",str)输入字符串,用gets(str)会结果错误,原因可能是复制输入字符的时候有空格;区别:scanf("%s",str)---遇到空格就停止; …… 题解列表 2023年03月24日 0 点赞 0 评论 167 浏览 评分:0.0
编写题解 2848: 基因相关性,python超简单 摘要:(python学子仔细读题哦)n = float(input()) DNA1 = input() DNA2 = input() # 比对两条DNA序列 matching_pairs = 0 …… 题解列表 2024年03月29日 0 点赞 0 评论 515 浏览 评分:4.7
2848: 基因相关性 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { char str1[505] = {0}, str…… 题解列表 2022年10月26日 0 点赞 0 评论 404 浏览 评分:5.5
2848: 基因相关性(C语言) 摘要: #include #include int main() { float x; scanf("%f",&x); char a[501],b[501]; sca…… 题解列表 2023年08月21日 0 点赞 0 评论 451 浏览 评分:6.4
正则表达式--study||O.o 摘要:参考代码:import java.util.Scanner; import java.util.regex.Matcher; import java.util.regex.Pattern; …… 题解列表 2024年02月03日 0 点赞 0 评论 148 浏览 评分:9.9