编写题解 1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3]; int t; for(int i=0;i<3;i++){ s…… 题解列表 2022年03月09日 0 点赞 0 评论 306 浏览 评分:0.0
编写题解 1115: DNA 摘要:解题思路:利用二维数组,应该很容易看懂(绝不是因为我想不出更聪明的做法了)。注意事项:大小写X卡了一会,注意要大写。参考代码:n = eval(input()) for i in range(n):…… 题解列表 2022年03月09日 0 点赞 0 评论 485 浏览 评分:0.0
DNA(关键还是要找规律) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ int n; int a,b; int c; scanf("%d",&n); for(int i=1;i<=n…… 题解列表 2022年03月09日 0 点赞 0 评论 372 浏览 评分:0.0
1708: 数据结构-最短路径算法 摘要:解题思路:注意事项:参考代码:n,s=map(int,input().split()) dp=[] for i in range(n): dp.append(list(map(int,i…… 题解列表 2022年03月09日 0 点赞 1 评论 386 浏览 评分:0.0
做题记录2022.3.9(ac:100%) 摘要:解题思路:两种方向:从a到b的范围内取数,然后分割判断该数是否符合要求,这样会存在一些冗余判断,但实现起来较为简单先生成平方数,然后在所给定的范围内拼接出符合要求的数,完全没有冗余,但考虑情况较多.如…… 题解列表 2022年03月09日 0 点赞 0 评论 512 浏览 评分:0.0
兰顿蚂蚁 C++ 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <map> #include <string> using namespace std; int dy[…… 题解列表 2022年03月09日 0 点赞 0 评论 391 浏览 评分:0.0
编写题解 1113: C语言考试练习题_保留字母 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int m,j=0; char str1[81],str2[81]; get…… 题解列表 2022年03月09日 0 点赞 0 评论 339 浏览 评分:0.0
编写题解 1022: [编程入门]筛选N以内的素数 摘要:解题思路:注意事项:参考代码:#include#includeusing namespace std;int main(){ bool t = true; int n; cin>>n…… 题解列表 2022年03月09日 0 点赞 0 评论 326 浏览 评分:0.0
编写题解 1112: C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double a,b,c,x1,x2; scanf("%lf %lf %lf",…… 题解列表 2022年03月09日 0 点赞 0 评论 438 浏览 评分:0.0
写题解 1121: C语言训练-8除不尽的数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ for(int a=1;;a++) { if(((a*8+7)*8+1)*8+1==((2*a*17+15)*…… 题解列表 2022年03月09日 0 点赞 0 评论 415 浏览 评分:0.0