You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo...
分类:
其他好文 时间:
2015-04-06 06:23:24
阅读次数:
148
题目: You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stoppin...
分类:
其他好文 时间:
2015-04-06 06:13:15
阅读次数:
124
Compared to wildleopard's wealthiness, his brother mildleopard is rather poor. His house is narrow and he has only one light bulb in his house. Every night, he is wandering in his incommodious house, t...
分类:
其他好文 时间:
2015-04-05 17:36:10
阅读次数:
235
1.题目要求You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopp...
分类:
其他好文 时间:
2015-04-04 15:01:51
阅读次数:
130
上原题:You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stoppin...
分类:
其他好文 时间:
2015-04-03 23:41:42
阅读次数:
197
标题:House Robber通过率:27.5%难度:简单You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, th...
分类:
其他好文 时间:
2015-04-03 22:19:01
阅读次数:
155
思路:代码:class Solution {public: int rob(vector &num) { if(num.empty()) return 0; int size=num.size(); if(size==1) return num[0];...
分类:
其他好文 时间:
2015-04-03 12:47:12
阅读次数:
112
不过在 PHP 中,所有变量都对大小写敏感。在下面的例子中,只有第一条语句会显示 $color 变量的值(这是因为 $color、$COLOR 以及 $coLOR 被视作三个不同的变量):实例";echo "My house is " . $COLOR . "";echo "My boat is "...
分类:
Web程序 时间:
2015-04-02 23:55:39
阅读次数:
175
1 题目You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stoppin...
分类:
其他好文 时间:
2015-04-02 20:46:19
阅读次数:
131
RT,蛋疼的MT实验~
伪代码请参见《统计机器翻译》中文版61页。
ps:输入只是参考了书上的例子——三个对齐句对~保证和书上输出的概率相同
该代码还没有经过大规模平行语料的检验。。后续有待优化~
输入:data.e
the house
the book
a book
data.f
das Haus
das Buch
ein Buch
python代码ibmModel1...
分类:
其他好文 时间:
2015-04-01 21:55:58
阅读次数:
335