- 博客(5)
- 收藏
- 关注
原创 POJ1166Clocks(穷举+函数指针数组+位操作)
DescriptionThere are nine clocks in a 3*3 array (figure 1). The goal is to return all the dials to 12 o’clock with as few moves as possible. There are nine different allowed ways to turn the dials...
2018-03-27 23:11:27 677
原创 POJ1753FlipGame(穷举)
DescriptionFlip game is played on a rectangular 4x4 field with two-sided pieces placed on each of its 16 squares. One side of each piece is white and the other one is black and each piece is lying e...
2018-03-27 22:45:48 139
原创 POJ1222 Extended Lights Out(穷举)
POJ1222 Extended Lights Out(穷举)DescriptionIn an extended version of the game Lights Out, is a puzzle with 5 rows of 6 buttons each (the actual puzzle has 5 rows of 5 buttons each). Each button h...
2018-03-26 11:05:23 388
原创 听课笔记---程序设计与算法(三)C++面向对象程序设计(郭伟老师)---第一周
Week1ContentsReferenceInline functionOverloaded functionDefault argumentDynamic memory allocation in C++const qualifierClass and Object—Basic ideas想法与体悟引用引用可以被视为变量的别名,其行为与常指针T *...
2018-03-25 22:33:44 1024
原创 POJ1013 Counterfeit Dollar
POJ1013 Counterfeit DollarDescriptionSally Jones has a dozen Voyageur silver dollars. However, only eleven of the coins are true silver dollars; one coin is counterfeit even though its color and...
2018-03-25 21:09:33 132
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人