自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (5)
  • 收藏
  • 关注

原创 DP 练习 uva103 Stacking Boxs

题目链接https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=3&page=show_problem&problem=39#include #define MAX_K 31 #define MAX_N 11 int k; // number of box, k<=30 int n; //

2016-06-30 21:12:56 399

原创 使用pyhunspell检查多国语言词汇

import codecs import hunspell hun_dicts={ 0x0001:'ar', 0x0002:'bg_BG', 0x0005:'cs', 0x0006:'da_DK', 0x0007:'de_DE,de_AT,de_CH', 0x0008:'el', 0x0009:'en_CA,en_US,en_AU,en_ZA,en_GB', 0x000A:'es', 0x00

2016-06-30 09:09:57 840

原创 Install hunspell with python on Ubuntu

# install hunspell sudo apt-get install hunspell # install hunspell dict sudo apt-get install hunspell-ar myspell-bg myspell-cs hunspell-da hunspell-de-at hunspell-de-ch hunspell-de-de myspell-el-g

2016-06-30 09:04:55 1218

原创 DP算法- 循环取石子

// // 有N堆(N // // 状态转移方程dp[i][j] = min(dp[i][k]+[(i+k+1)%n][j-k-1]+sum[i][j]) // 把要合并的j堆分成前k堆和后j-k-1堆以及最后一堆i+j //input: //3 //4 //4 5 9 4 //6 //3 4 6 5 4 2 //10 //9 3 2 8 5 10 3 13 2 4

2016-06-26 15:46:56 481

原创 hdu1025 - LIS

// LIS // O(nlogn) #include #define MAX_N 500005 int n; // number of roads plan to build int road[MAX_N]; // road[p]=r, means a road from city p to city r, city start from 1 int dp[MAX_N]; // dp

2016-06-17 23:47:38 310

原创 HDU 4826-Labyrinth-DP

原题链接:http://acm.hdu.edu.cn/showproblem.php?pid=4826 /****************************************************************************** * Author: Tlight * URL: http://blog.csdn.net/tlight * Title : L

2016-06-11 09:21:37 393

Programming with GNU software 2

This book is neither a comprehensive reference, nor a light weight novella. It is intended to be a learning guide for the gde. The reader is presumed to be familiar with software development processes in general. That is, they are expected to be familiar with edit-compile-debug cycles on some sort of platform, whether that be UNIX or Windows or even something else. We will attempt to guide you through the process of choosing, configuring and using GNU tools. We will do this by developing an example project demonstrating the actual use of each tool.

2014-01-17

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除