A high quality DP problem to work on. It is not an merely educational DP, it is subtle.Basic ideas: 1. Run original DP twice, 1st with num[0] selecte....
分类:
其他好文 时间:
2015-05-20 13:09:06
阅读次数:
115
light oj Basic Math 数论基础
1020 1078 1148 1179 1275 1297 1323 1349 1369 1410 1430...
分类:
其他好文 时间:
2015-05-19 22:46:30
阅读次数:
300
error LNK2019: 无法解析的外部符号 "class std::vector,class std::allocator >,class std::allocator,class std::allocator > > > __cdecl Public_Func::split(class
std::basic_string,class std::allocator >,class std...
分类:
其他好文 时间:
2015-05-19 10:30:15
阅读次数:
334
Most of the Android user are using their Android phone just for calls, SMS, browsing and basic apps,But form the development prospective, we should kn...
分类:
移动开发 时间:
2015-05-19 10:13:32
阅读次数:
236
VB全称“Visual Basic”,是Microsoft(微软)公司开发的结构化的、模块化的、面向对象的、包含协助开发环境的事件驱动为机制的可视化程序设计语言。 VB诞生于1991年,VB的创始人是Alan Cooper,它的最初设计就是Alan Cooper完成的。VB 1.0的推出引起了...
分类:
其他好文 时间:
2015-05-19 07:12:15
阅读次数:
134
对于每个点有四个方向可以走,把墙两边的点对应墙的方向能不能走给预处理一下,用vis[x][y][0..3]表示点(x,y)的该方向可不可以走。
然后bfs就好了,记录路径就把每个结点的前一个点记录下来,递归输出就可以了。
#include
#include
#include
using namespace std;
int dx[]={0,0,1,-1};
int dy[]=...
分类:
其他好文 时间:
2015-05-18 22:59:33
阅读次数:
185
require.js for dependency management and modular code模块化代码,依赖管理 backbone.js for basic application strcture and separation of concerns 应用架构,分成设计marione...
分类:
其他好文 时间:
2015-05-18 22:51:29
阅读次数:
668
light oj Basic Math 数论基础
1020 1078 1148 1179 1275 1297 1323 1349 1369 1410 1430...
分类:
其他好文 时间:
2015-05-18 09:16:05
阅读次数:
172