蓝桥杯基础练习-十六进制转八进制 摘要:```cpp#includeusing namespace std;int main(){ //乱搞 int a,b,c; cin>>a>>b>>c; cout…… 题解列表 2025年02月15日 0 点赞 0 评论 129 浏览 评分: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 评论 145 浏览 评分:0.0
[信息学奥赛一本通T1495-孤岛营救问题] - (BFS,SPFA,DIjkstra)+状压DP 摘要:```cpp#include // #define int long long // 自觉去掉,当需要 memset 数组为 0x3f 时使用#define INF 0x3f3f3f3f …… 题解列表 2025年02月15日 0 点赞 0 评论 133 浏览 评分:0.0
3018:末两位数 摘要:解题思路:注意事项:参考代码:n=int(input())sum=1992**na=sum%100print(f'{a:0>2d}')…… 题解列表 2025年02月15日 0 点赞 0 评论 85 浏览 评分:0.0
1162: 密码(c语言解法,步骤简明,容易看懂) 摘要:#include <stdio.h>#include <math.h>#include <string.h>void pd(char a[50]);int main…… 题解列表 2025年02月14日 1 点赞 0 评论 157 浏览 评分:10.0
1169: 绝对值排序 摘要:#include<stdio.h>int main(){ int i,j,n,e; int a[100]; while(scanf("%d",&n)) { i…… 题解列表 2025年02月14日 2 点赞 0 评论 240 浏览 评分:10.0
双向循环链表(作代码记录用) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>typedef struct…… 题解列表 2025年02月14日 0 点赞 0 评论 177 浏览 评分:0.0
[信息学奥赛一本通T1501-最优贸易] - 最短路DP 摘要:####建立正反图,枚举每个点为终点,正图算出到这个点最小购入价格,反图算出到这个点最大卖出价格,枚举以每个点为终点两者相减的价格更新最大值```cpp#include// #define…… 题解列表 2025年02月14日 0 点赞 1 评论 175 浏览 评分:10.0
可以只用printf-(投机取巧)字符菱形 摘要:解题思路:注意事项:参考代码:#include<stdio.h>intmain(){charc;&n…… 题解列表 2025年02月14日 1 点赞 0 评论 498 浏览 评分:0.0
记录一下(烦人的dfs) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std; int a[100];int a1[100] ,a2[100],&nb…… 题解列表 2025年02月14日 0 点赞 0 评论 307 浏览 评分:0.0