http://poj.org/problem?id=1738 (题目链接) 题意 一排n堆石子,合并两堆石子的代价为两堆石子总数之和。问将所有石子合并为一堆所需要的最小代价。 Solution 本来想用刚学的四边形不等式练练手的,没想到n的范围竟然是50000,数组都开不下啊。。只好去看了下那个不明 ...
分类:
其他好文 时间:
2016-10-14 00:03:05
阅读次数:
201
A frog is crossing a river. The river is divided into x units and at each unit there may or may not exist a stone. The frog can jump on a stone, but i ...
分类:
其他好文 时间:
2016-10-06 19:46:43
阅读次数:
264
【问题描述】 在《Harry Potter and the Sorcerer's Stone》中,想得到魔法石,必须要通过许许多多的测试和游戏。现在阿不思·邓布利多认为这些游戏都具有魔法力,魔法师们能够轻松的通过,我们要增加一些只能够通过智力解决的题目,需要真正的聪明人才能够通过。现在由于我们敬爱的 ...
分类:
其他好文 时间:
2016-10-06 00:17:30
阅读次数:
282
Deep Metric Learning via Lifted Structured Feature Embedding CVPR 2016 摘要:本文提出一种距离度量的方法,充分的发挥 training batches 的优势,by lifting the vector of pairwise d ...
分类:
其他好文 时间:
2016-09-29 21:51:14
阅读次数:
1622
http://poj.org/problem?id=1740 (题目链接) 男人八题之一 题意:对于n堆石子,每堆若干个,两人轮流操作,每次操作分两步,第一步从某堆中去掉至少一个,第二步(可省略)把该堆剩余石子的一部分分给其它的某些堆。最后谁无子可取即输。 Solution 首先我们考虑两堆相等的情 ...
分类:
其他好文 时间:
2016-09-27 23:09:17
阅读次数:
160
原文:http://www.cnblogs.com/asmer-stone/p/5470144.html virtualenvwrapper是用来管理virtualenv的扩展包,用着很方便。 1. 安装: 2. 配置: 修改~/.bash_profile或其它环境变量相关文件(如 .bashrc( ...
分类:
移动开发 时间:
2016-09-27 14:59:40
阅读次数:
286
A frog is crossing a river. The river is divided into x units and at each unit there may or may not exist a stone. The frog can jump on a stone, but i ...
分类:
其他好文 时间:
2016-09-20 13:59:45
阅读次数:
450
2016年9月16日 星期五 --出埃及记 Exodus 17:12When Moses' hands grew tired, they took a stone and put it under him and he sat on it. Aaron and Hur held his hands ...
分类:
其他好文 时间:
2016-09-16 08:56:48
阅读次数:
171
网上有一个解决方法如下: http://www.cnblogs.com/stone_w/archive/2012/10/25/2738345.html 不过我试了下没解决太麻烦了 而且一旦EF要重新生成又的重新弄。 后来我查询 了一下资料,可以运用T4模板来解决这个问题。 1. 下载文件GetSum ...
分类:
数据库 时间:
2016-09-09 20:30:42
阅读次数:
386
A New Stone Game Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 5694 Accepted: 3119 Description Alice and Bob decide to play a new stone g ...
分类:
其他好文 时间:
2016-08-28 09:50:19
阅读次数:
209