双向循环链表(作代码记录用) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>typedef struct…… 题解列表 2025年02月14日 0 点赞 0 评论 161 浏览 评分:0.0
3018:末两位数 摘要:解题思路:注意事项:参考代码:n=int(input())sum=1992**na=sum%100print(f'{a:0>2d}')…… 题解列表 2025年02月15日 0 点赞 0 评论 81 浏览 评分:0.0
[信息学奥赛一本通T1495-孤岛营救问题] - (BFS,SPFA,DIjkstra)+状压DP 摘要:```cpp#include // #define int long long // 自觉去掉,当需要 memset 数组为 0x3f 时使用#define INF 0x3f3f3f3f …… 题解列表 2025年02月15日 0 点赞 0 评论 123 浏览 评分:0.0
Python代码-8除不尽的数 摘要:```pythondef check(n): if n % 8 == 1: if (n//8) % 8 == 1: if (n//8//8) …… 题解列表 2025年02月15日 0 点赞 0 评论 137 浏览 评分:0.0
蓝桥杯基础练习-十六进制转八进制 摘要:```cpp#includeusing namespace std;int main(){ //乱搞 int a,b,c; cin>>a>>b>>c; cout…… 题解列表 2025年02月15日 0 点赞 0 评论 120 浏览 评分:0.0
打印平行四边形 摘要:```cpp#includeusing namespace std;int main(){ int a,b,c,d; scanf("%d",&a); for(b=a…… 题解列表 2025年02月15日 0 点赞 0 评论 86 浏览 评分:0.0
[信息学奥赛一本通T1498-Roadblocks] - Dijkstra求次短路 摘要:```cpp#include // #define int long long // 自觉去掉,当需要 memset 数组为 0x3f 时使用#define INF 0x3f3f3f3f…… 题解列表 2025年02月16日 0 点赞 0 评论 102 浏览 评分:0.0
[信息学奥赛一本通T1497-农场派对] - SPFA 摘要:#### 题目.[信息学奥赛一本通T1497-农场派对](https://www.dotcpp.com/oj/problem2406.html)- **解题方法**:求出终点到所有点的最短路,再从…… 题解列表 2025年02月16日 0 点赞 0 评论 134 浏览 评分:0.0
[信息学奥赛一本通T1500-新年好] - SPFA+DFS 摘要:### **最短路径 + 状态压缩 DFS**本题涉及 **最短路径** 和 **状态压缩搜索**,整体分为两个部分:1. **使用 SPFA 计算所有关键点的最短路径**2. **使用 …… 题解列表 2025年02月16日 0 点赞 0 评论 164 浏览 评分:0.0
2808: 买房子(c语言解法) 摘要:#include <stdio.h>int main(){ int n,k,i,m,sum=0; double s=200,o; scanf("%d %d",&…… 题解列表 2025年02月16日 0 点赞 0 评论 146 浏览 评分:0.0