- 博客(11)
- 收藏
- 关注
原创 如何让你的程序赏析悦目-帕斯卡命名法
帕斯卡命名法属性前缀含义g_全局变量c_常量m_c++类成员变量s_静态变量类型前缀含义a数组p指针fn函数v无效l句柄h长整型b布尔f浮点型 、文件dw双字sz字符串n短整型d双精度浮点cnt计数c \ ch字符n \ i整型by字节w字r实型u无符号描述前缀含义
2020-08-10 12:02:26
1106
原创 编译错误:XXX.axf: Error: L6218E: Undefined symbol xxx (referred from xxxx.o).
XXX.axf: Error: L6218E: Undefined symbol xxx (referred from xxxx.o).MKD 报错:linking… stm32f103.axf: Error: L6218E: Undefined symbol Time1_8_Init (referred from led.o).分析:Undefined symbol Time1_8_Init,
2017-12-20 21:20:03
85778
7
原创 STM32的8种GPIO端口模式配置——上拉、下拉、模拟、浮空输入、推挽、开漏、复用输出
STM32的8种GPIO端口模式配置——上拉、下拉、模拟、浮空输入;推挽、开漏、复用输出
2017-12-19 15:04:13
20292
原创 POJ-3268 Silver Cow Party(最短路spfa算法)
POJ-3268 Silver Cow PartySilver Cow Party Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 19989 Accepted: 9128DescriptionOne cow from each of N farms (1 ≤ N ≤ 1000) convenientl
2017-01-14 09:19:29
324
原创 POJ-2488 A Knight's Journey(深搜DFS)
POJ-2488 A Knight’s JourneyA Knight’s Journey Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 43097 Accepted: 14620Description Background The knight is getting bored of seein
2017-01-14 09:02:33
402
原创 POJ-1915 Knight Moves(双向广搜BFS)
POJ-1915 Knight MovesKnight Moves Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 25321 Accepted: 11971Description Background Mr Somurolov, fabulous chess-gamer indeed, asser
2017-01-14 08:51:40
400
原创 HDU-1253 胜利大逃亡(简单三维广搜BFS)
HDU-1253 胜利大逃亡(简单三维广搜BFS) Ignatius被魔王抓走了,有一天魔王出差去了,这可是Ignatius逃亡的好机会.魔王住在一个城堡里,城堡是一个A*B*C的立方体,可以被表示成A个B*C的矩阵,刚开始Ignatius被关在(0,0,0)的位置,离开城堡的门在(A-1,B-1,C-1)的位置,现在知道魔王将在T分钟后回到城堡。
2017-01-08 21:05:07
325
原创 POJ-2387 Til the Cows Come Home(Dijsktra算法求最短路径)
POJ-2387 Til the Cows Come Home(Dijsktra算法求最短路径)
2017-01-08 15:59:07
754
原创 HDU-1002 A + B Problem II(大整数加法)
HDU-1002 A + B Problem II最简单的大数A+B,今天复习一下,顺手写一个博客。 题目有坑点,不过以前遇到过,所以也没啥了。大数A+B就是一个代码模拟自己手算A+B的过程,具体看代码和注释。
2016-12-19 15:56:26
247
1
原创 NYOJ-791 Color the fence (来源CodeForce)
NYOJ-791 Color the fence (贪心)Color the fence 时间限制:1000 ms | 内存限制:65535 KB 难度:2描述Tom has fallen in love with Mary. Now Tom wants to show his love and write a number on the fence opposite to Mary’s h
2016-11-23 21:40:56
272
原创 HihoCoder - 1425 What a Beautiful Lake(水题)
HihoCoder - 1425 What a Beautiful LakeWeiming Lake, also named "Un-named Lake", is the most famous scenic spot in Peking University. It is located in the north of the campus and is surrounded by wal...
2016-11-21 15:56:00
800
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人