- 博客(4)
- 收藏
- 关注
原创 Ubuntu17.04安装各种软件过程中出现的问题和一些小技巧
文章有部分来自其他blog,如果有的话会注明出处~ 1.安装网易云音乐 安装网易云的时候,一直出现依赖问题,用以前装16.10的方法也就是sudo apt-get install -f还是解决不了依赖问题,后来百度看到了一篇blog(http://blog.csdn.net/isinstance/article/details/70306042 ),自己去修改依赖文件,然后再进行一系列常规操作
2017-04-23 11:37:19 11885 1
原创 UVA_1025 A Spy in the Metro(dp)
题意:有n个车站,分别编号为1-n,没亮列车从车站i到车站i+1需要花费ti的时间(其中1 分析:典型的动态规划,用dp[i][j]表示时刻i车站j处的列车需要等待的时间,边界条件就是dp[T][n] = 0,dp[T][i] = INF,有三种决策: 1.不上车等一分钟,此时dp[i][j] = dp[i+1][j]; 2.乘往右行驶的列车,此时dp[i][j] = min(dp[i][j
2017-04-17 21:39:48 221
原创 HDU_1003 Max Sum
Given a sequence a11,a22,a33......ann, your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max sum in this sequence is 6 + (-1) + 5 + 4 = 14. InputThe
2017-04-08 22:03:31 521
原创 HDU_1087 Super Jumping! Jumping! Jumping!
Nowadays, a kind of chess game called “Super Jumping! Jumping! Jumping!” is very popular in HDU. Maybe you are a good boy, and know little about this game, so I introduce it to you now. The
2017-04-08 20:45:03 206
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人