[STL训练]第二小整数 摘要:解题思路:随便写写注意事项:参考代码:#include<bits/stdc++.h>#include<algorithm>using namespace std;int main(){ int …… 题解列表 2022年02月26日 0 点赞 0 评论 524 浏览 评分:0.0
DNA题目解析 C++代码详解 摘要: ######原题链接:[DNA](https://www.dotcpp.com/oj/problem1115.html "DNA") ------------ 解题思路:观察题目中所给出的…… 题解列表 2022年02月26日 1 点赞 0 评论 837 浏览 评分:9.9
编写题解 2014: 疯狂的裁缝 摘要:解题思路:注意事项:参考代码:n=int(input()) ls=list(map(int,input().split())) dp=[0 for i in range(n)] for i in…… 题解列表 2022年02月26日 0 点赞 0 评论 655 浏览 评分:0.0
1097: 蛇行矩阵 java -思路模拟该矩阵的形成过程即可可以发现数据是按照这个方向逐渐累加,并且在此方向上每层数字数也是逐层累加-生成一个二维数组存储一个蛇形矩阵-然后根据它的规律模拟此矩阵-代码```javaimportjav 题解列表 2022年02月26日 0 点赞 0 评论 502 浏览 评分:0.0
1796: 蛇形填数(c语言--突然启发,思路清晰,不懂来揍我) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n; int k=1; int a[100][100]; wh…… 题解列表 2022年02月26日 2 点赞 1 评论 781 浏览 评分:9.5
暴力解答,思维清晰 摘要:#include<iostream>#include<algorithm>using namespace std;int arr[1005];int A[1000],B[1000],C[1000],D…… 题解列表 2022年02月26日 0 点赞 0 评论 543 浏览 评分:0.0
c语言格式完整版 摘要:#include<stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); printf("%4d\n",a); printf("×…… 题解列表 2022年02月26日 0 点赞 0 评论 570 浏览 评分:0.0
sort函数简单解决问题 摘要:#include<iostream>#include<algorithm>using namespace std;int arr[105];int main(){ int N; cin>>…… 题解列表 2022年02月26日 0 点赞 0 评论 400 浏览 评分:0.0
1115: DNA思路与代码 java -思路观察一个单元e,g,a=3:X0X0X0X0X发现当行列相等,或者行列相加等于a+1时为X,其余为空格利用a=5是验证,发现对于单个单元成立:于是有代码:```javafor(inti=2;i 题解列表 2022年02月26日 0 点赞 0 评论 620 浏览 评分:0.0
C语言 两种方法 摘要:解题思路:(一) 建一个26位的数组,0~25代表a~z的个数,选出最大并记录最大的这个位置(二) 逐个读取字符串各个元素,相同的加一;选取最大的,并记录最大字符 注意事项:注意题目要求不超过1000…… 题解列表 2022年02月26日 0 点赞 0 评论 849 浏览 评分:9.9