会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
_Hsiung
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
21
下一页
2020年8月10日
A1114 Family Property [并查集]
摘要: 唉 自己没想出来 二刷再来看吧 #include#include#include#include#include#include#...
阅读全文
posted @ 2020-08-10 10:26 _Hsiung
阅读(60)
评论(0)
推荐(0)
2020年8月9日
A1113 Integer Set Partition
摘要: #include#include#include#include#include#include#includeusing nam...
阅读全文
posted @ 2020-08-09 21:32 _Hsiung
阅读(45)
评论(0)
推荐(0)
A1112 Stucked Keyboard
摘要: #include#include#include#include#include#include#includeusing nam...
阅读全文
posted @ 2020-08-09 15:48 _Hsiung
阅读(53)
评论(0)
推荐(0)
A1111 Online Map [dj+dfs]
摘要: ** 思路:用两个Dijkstra。一个求最短路径(如果相同求时间最短的那条),一个求最快路径(如果相同求结点数最小的那条) 数组记...
阅读全文
posted @ 2020-08-09 10:32 _Hsiung
阅读(91)
评论(0)
推荐(0)
2020年8月8日
A1109 Group Photo [模拟]
摘要: 照相排队真站位问题 高的站中间 矮的站两边 思路:排序后中间插高的,以这个为结点,左右插入最高的 #include#include...
阅读全文
posted @ 2020-08-08 23:30 _Hsiung
阅读(63)
评论(0)
推荐(0)
A1108 Finding Average [字符串]
摘要: #include#include#include#include#include#include using namespace ...
阅读全文
posted @ 2020-08-08 09:33 _Hsiung
阅读(49)
评论(0)
推荐(0)
2020年8月7日
A1105 Spiral Matrix [螺旋矩阵]
摘要: 先算出行列,然后算出层数和行数的关系,然后每一层再每个边赋值,类似于这样循环赋值找出关系就行 #include#include#...
阅读全文
posted @ 2020-08-07 22:12 _Hsiung
阅读(76)
评论(0)
推荐(0)
A1103 Integer Factorization [dfs]
摘要: 思路:fac[0]=0 fac[1]=1 fac[2]=4…先存fac数组,再对这个数组进行深度优先搜索。 #include#in...
阅读全文
posted @ 2020-08-07 15:49 _Hsiung
阅读(54)
评论(0)
推荐(0)
A1091 Acute Stroke[bfs]
摘要: #include#include#include#include#include#include#include#include#...
阅读全文
posted @ 2020-08-07 10:38 _Hsiung
阅读(43)
评论(0)
推荐(0)
2020年8月6日
A1041 Be Unique [哈希]
摘要: #include#include#include#include#include#include#include#include#...
阅读全文
posted @ 2020-08-06 21:26 _Hsiung
阅读(36)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
21
下一页
公告