2119: 信息学奥赛一本通T1184-明明的随机数 摘要: #include #include #include using namespace std; int a[105]; int main()…… 题解列表 2024年03月21日 0 点赞 0 评论 468 浏览 评分:0.0
蓝桥杯【3150】一种做法~ 摘要:## 3150的一种解法 **第一次写题解,不好勿喷** ### 直接上代码 ```c++ #include using namespace std; int fin…… 题解列表 2024年03月21日 0 点赞 0 评论 270 浏览 评分:9.9
最大公约数最小公倍数 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2024年03月21日 0 点赞 0 评论 280 浏览 评分:0.0
26行解决问题 摘要:解题思路:1.一个数组存数字的读法,一个数组存单位的读法,这里不需要个位,将个位置空就行,因为平时也不读 “个” 。2. 通过输入字符串,让每位字符和 ' 0 ' 做差,来获取每一位的…… 题解列表 2024年03月21日 1 点赞 1 评论 234 浏览 评分:10.0
小明的A+B 小明你为什么看题看一半 摘要: 考虑到的条件比较多所以用了多个if 和 else if #include #include int main() { int n; …… 题解列表 2024年03月21日 0 点赞 0 评论 206 浏览 评分:0.0
动态规划求最长下降子序列和最长上升子序列 摘要:#include <bits/stdc++.h> using namespace std; const int N = 30000 + 10; int a[N], f1[N], f2[N…… 题解列表 2024年03月21日 0 点赞 0 评论 303 浏览 评分:9.9
信息学奥赛一本通T1255-迷宫问题 摘要:解题思路:使用宽度优先搜索解题注意事项:题目测试数据不好,一定要使用{ { -1, 0 }, { 0, -1 }, { 1, 0 }, { 0, 1 } };这个顺序不然会报答案错误.参考代码:imp…… 题解列表 2024年03月21日 0 点赞 0 评论 266 浏览 评分:9.9
矩阵最大值c++ 摘要:```cpp #include using namespace std; int main() { int m, n; int a[101][101]; whi…… 题解列表 2024年03月20日 0 点赞 0 评论 654 浏览 评分:9.9
找出最长的字符串来 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void lang(char *x1,char *x2,char *x3,char *x4,char…… 题解列表 2024年03月20日 0 点赞 0 评论 224 浏览 评分:2.0
动态规划(C++)代码 摘要:#include <iostream> using namespace std; const int N = 1000010, INF = 0x3f3f3f3f; int a[N],…… 题解列表 2024年03月20日 0 点赞 0 评论 174 浏览 评分:0.0