在Ubuntu 16.04上使用deb文件安装Synergy时报错,解决过程如下: 安装时提示安装失败,在命令行中打开软件时提示 按照 https://sourceforge.net/p/beebeep/tickets/118/ 提示的方案,在命令行输入: 说明安装包名过时(或不存在了)。 按照类似 ...
分类:
其他好文 时间:
2019-02-19 13:29:36
阅读次数:
831
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1260 思路: 很简单的DP题,状态方程也比较容易想到,用f[i]表示到第i个人所耗的最短时间,详见代码。 ...
分类:
其他好文 时间:
2019-02-19 11:54:52
阅读次数:
149
4 编译2 编译 1. 编译阶段主要就是生成指令, 打一个比方, 现在有一个项目, 领导为了完成这个计划, 将这个计划按照几个步骤划分(就是指令), 领导就是用这些指令指定了计划的运行流程, 但是项目具体怎么落实是交给员工的, 员工得到了这个指令, 怎么执行就让员工自己来完成, 比如, BUY\_F ...
分类:
其他好文 时间:
2019-02-15 15:19:39
阅读次数:
153
Taste the difference in Cali Beach Dreams CBD gummies. Using locally sourced hemp and organic ingredients, this cannabinoid-rich formula contains 225m ...
分类:
其他好文 时间:
2019-02-05 19:39:20
阅读次数:
204
设$f[i][j]$表示填了$i$个数,数位和为$j$的方案数 于是方程为: $$f[i][j]=\sum_{k=1}^9 f[i 1][j k] [CanUse[k]==1]$$ 其中$CanUse[i]$表示是否可用$i$这个数字 最终答案为: $$\sum_{i=1}^{9 (n/2)}f[n ...
分类:
其他好文 时间:
2019-02-04 12:44:41
阅读次数:
243
传送门 A.HDU6438 Buy and Resell 题意 给你N天N个价格,每天都可以从1.买入一个,2.卖出一个,3.什么都不做,求最高获利 低买高卖问题,这题与其他的差距就是要在满足获利最多的情况下,买卖次数最小; 思路 手算一下发现价格具有传递性;例如数据是1,5,9; 5的时候买入1赚 ...
分类:
其他好文 时间:
2019-01-28 23:48:31
阅读次数:
227
At a lemonade stand, each lemonade costs $5. Customers are standing in a queue to buy from you, and order one at a time (in the order specified by bil ...
分类:
其他好文 时间:
2019-01-22 19:45:19
阅读次数:
144
1092 To Buy or Not to Buy (20 分) Eva would like to make a string of beads with her favorite colors so she went to a small shop to buy some beads. Ther ...
分类:
其他好文 时间:
2019-01-22 14:19:46
阅读次数:
229
https://leetcode.com/problems/lemonade-change/ At a lemonade stand, each lemonade costs $5. Customers are standing in a queue to buy from you, and ord ...
分类:
其他好文 时间:
2019-01-22 13:19:23
阅读次数:
159
import json,timeuserinfo={"lanfei": { "passwd":"lanfei", "salary":3000, "buy_commodity":{ "time":None, "commodity_name":None, "price":None,}, "shoppin ...
分类:
编程语言 时间:
2019-01-14 18:00:21
阅读次数:
106