Hifipsysta-1106-奖学金(C++代码)结构体排序 摘要:```cpp #include #include using namespace std; const int MAXN=1000; struct student{ int…… 题解列表 2022年02月07日 0 点赞 0 评论 405 浏览 评分:0.0
做题记录2022.2.7(ac:100%) 摘要:解题思路:采用深度优先搜索和回溯 是8皇后问题的拓展和延伸注意事项:参考代码:def check(row, column, pattern): global w…… 题解列表 2022年02月07日 0 点赞 0 评论 361 浏览 评分:0.0
7行代码解决蛇行矩阵(Python) 摘要:## 解题思路: 用二维数组来解决比较简单粗暴,把所有的结果都存入数组中 首先初始化一下数组给他存个1,后面计算都是利用这个1进行 第一步先解决纵列,一个加数是上一列的数,另一个加数是第几次处理…… 题解列表 2022年02月08日 0 点赞 0 评论 380 浏览 评分:0.0
我的i,j为啥不用加1呢?求解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a[6][6]; int i,j,n,max; sca…… 题解列表 2022年02月08日 0 点赞 2 评论 254 浏览 评分:0.0
又笨又直观的方法 摘要:解题思路:见注释注意事项:参考代码:#include<stdio.h>int judge(int a[],int n)//用于判断小朋友手里的糖是否相同{ int flog=a[0],k=0; for…… 题解列表 2022年02月08日 0 点赞 0 评论 306 浏览 评分:0.0
Hifipsysta-1734-二叉树遍历 摘要:```cpp #include #include using namespace std; const int MAXN = 27; struct node{ char dat…… 题解列表 2022年02月08日 0 点赞 0 评论 490 浏览 评分:0.0
两组判断解题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int judge1(int n){ int a[6],len,i=0,j=0; if(n<100000) len=5; else le…… 题解列表 2022年02月08日 0 点赞 0 评论 275 浏览 评分:0.0
编写题解 2012: 百分制成绩转换 摘要:```python k=input() s=list(map(int,input().split())) l=int(input()) count=0 if l==1: for i…… 题解列表 2022年02月08日 0 点赞 0 评论 349 浏览 评分:0.0
哈哈哈哈哈哈哈哈 摘要:解题思路:最小公倍数求解注意事项:不懂留言参考代码:#include<stdio.h>int hh(int a,int b){ return a>b?b:a;}int max(int a,int b)…… 题解列表 2022年02月08日 0 点赞 0 评论 310 浏览 评分:0.0
Hifipsysta-1697-数据结构-二叉链表存储的二叉树(C++代码) 摘要:```cpp #include #include #include using namespace std; struct node{ char data; node…… 题解列表 2022年02月08日 0 点赞 0 评论 503 浏览 评分:0.0