DNA(Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main{ public static void main(String[] …… 题解列表 2023年03月14日 0 点赞 0 评论 276 浏览 评分:9.9
题目 1115: DNA----题解 摘要:解题思路:注意事项:参考代码:Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int a,b; String arr[][]…… 题解列表 2023年03月14日 0 点赞 0 评论 332 浏览 评分:9.9
1268: 第K极值 摘要:```cpp #include using namespace std; const int maxn=10001; int n,k,arr[maxn],ans; string is_pre…… 题解列表 2023年03月14日 0 点赞 0 评论 622 浏览 评分:9.9
笨小猴,第一次写解析 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char z[101]; scanf("%s",z);//输入一个字符串…… 题解列表 2023年03月14日 0 点赞 0 评论 333 浏览 评分:9.9
python简单易懂解法 摘要:解题思路:可以在两个硬币之间想象出一个开关,控制它们的状态,如果硬币状态与目标不符,就按下开关,以此类推参考代码:start=list(str(input()))aim=list(str(input(…… 题解列表 2023年03月14日 0 点赞 0 评论 381 浏览 评分:9.9
说是考察搜索,其实更多是考字符串的操作,又是被难倒的一天 摘要:1.接收字符串 2.找到所有以c开头的字符串作为龙头 3。查找龙头可以拼接的所有单词 4.每个单词只能用两次。 import java.math.BigInteger; import…… 题解列表 2023年03月14日 0 点赞 0 评论 604 浏览 评分:9.9
循环入门练习5 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class x5 {public static void main(String[]args) {Scan…… 题解列表 2023年03月14日 0 点赞 1 评论 493 浏览 评分:9.9
蓝桥杯2018年第九届真题-日志统计(排序 + 双指针) 摘要:####解题思路 1.把“点赞”日志按 ts 时间从小到大排序。 2.用 i 和 j 指针维护区间 [T, T+D) 。 3.记录区间 [T, T+D) 点赞数。 ####参考代码 ``…… 题解列表 2023年03月14日 0 点赞 0 评论 502 浏览 评分:9.9
编写题解 2908: 白细胞计数 来一个c的,哈哈哈哈 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n; scanf("%d",&n); double num[n]; for(int i=0;i<n;i…… 题解列表 2023年03月14日 0 点赞 0 评论 515 浏览 评分:9.9
自定义最大公约、最小公倍函数 【JAVA】 辗转相除法 摘要:解题思路:熟悉欧几里得算法此题就迎刃而解参考代码:package Demo; import java.util.Scanner; /** * 题目 1027: [编程入门]自定义函数处理最大公…… 题解列表 2023年03月14日 0 点赞 0 评论 476 浏览 评分:9.9