水陆距离(朴素方法易懂版) 摘要:解题思路:这思路是优质题解的思路https://blog.dotcpp.com/a/8945思路如下①:若某陆地上下左右其中有一个是水域,则该陆地到水域的最短距离一定为1②:两个点的距离为x坐标相减的…… 题解列表 2023年12月17日 0 点赞 0 评论 240 浏览 评分:9.9
2787: 有一门课不及格的学生 摘要:解题思路:注意事项:有一门课几个另一门课一定不及格参考代码:#include <iostream>using namespace std;int main(){ int x,y; cin …… 题解列表 2023年12月17日 0 点赞 0 评论 129 浏览 评分:9.9
2862: 字符串移位包含问题 摘要:``` #include using namespace std; const int N=10010; char a[N],b[N]; int main(){ cin>>a>>b; i…… 题解列表 2023年12月17日 0 点赞 0 评论 224 浏览 评分:9.9
跟我徐海东 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int f[100000];int a[100000];int count;int max=0,A;int c[100];int mai…… 题解列表 2023年12月17日 0 点赞 0 评论 485 浏览 评分:9.9
提取字符串之java 摘要:StringBuilder 是 Java 中用于处理字符串的可变类。它属于 java.lang 包,提供了一种比直接使用 String 类更有效的方式来构建和修改字符串。StringBuilder 对…… 题解列表 2023年12月17日 0 点赞 0 评论 274 浏览 评分:9.9
采药-题解(Java代码,动态规划01背包问题) 摘要:### 动态规划 01背包问题 ```java import java.util.Scanner; public class Main { public static void main…… 题解列表 2023年12月17日 0 点赞 0 评论 299 浏览 评分:9.9
辗转相。。。。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int gcd(int a,int b){ if(a%b==0) { return b; }else{ …… 题解列表 2023年12月18日 0 点赞 0 评论 150 浏览 评分:9.9
看后五颗星,养成好习惯 ε≡٩(๑>₃<)۶ 一心向学 摘要:解题思路:下图可见注意事项:十分简单,自己思考,不许借鉴,人人有责参考代码:#include<iostream>using namespace std;int main(){ int a; cin >…… 题解列表 2023年12月18日 0 点赞 0 评论 272 浏览 评分:9.9
2849: 石头剪子布 摘要:``` #include using namespace std; const int N=110; int a[N],b[N]; int main(){ int T; cin>>…… 题解列表 2023年12月18日 0 点赞 0 评论 210 浏览 评分:9.9
优质题解 大整数乘法 摘要:这段代码是一个实现大整数相乘的程序。首先,它使用了两个字符数组s1和s2来存储两个大整数,并通过字符串输入的方式获取这两个大整数。然后,通过将字符转换为数字,将它们存储到数组a和b中。接下来,它定义了…… 题解列表 2023年12月19日 172 点赞 0 评论 3062 浏览 评分:9.9