题解列表

筛选

2848题: 基因相关性

摘要:参考代码:                Scanner sc=new Scanner(System.in); double n = sc.nextDouble(); String x =……

自定义函数之数字后移

摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main {static Scanner sc=new Scanner(System.in);……

还是畅通工程

摘要:解题思路:最小生成树模版题注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int f[1000]; struct node { ……

线性动态规划c++版

摘要:解题思路:简单的线性规划前i个字符的最大松散值=max(算上第i个,不算第i个)算上第i个=前i-2个字符的最大松散值+i的权重不算第i个=前i-1个字符的最大松散值注意事项:参考代码:#includ……