码迷,mamicode.com
首页 >  
搜索关键字:cf    ( 2836个结果
CF 432B :Football Kit
hash做法:#include#includeconst int Max = 100010;int home[Max],away[Max],hash[Max];int main(){ int n,sum,total; int i,j; while(scanf("%d",&n)!=E...
分类:其他好文   时间:2014-05-17 21:44:37    阅读次数:504
开始codeforces的奋斗之路
以后要开始在cf上做题目了,在那里可以开到世界各国的大神的代码,可以和他们一起享受比赛,以后cf的题目不会在发那么多报告了,若真的特别经典的,我才写写自己的总结
分类:其他好文   时间:2014-05-17 21:08:11    阅读次数:193
CF 27E Number With The Given Amount Of Divisors
A - Number With The Given Amount Of Divisors Time Limit:2000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64u Submit Status Description Given the number n, find the smallest...
分类:其他好文   时间:2014-05-15 13:31:36    阅读次数:343
CF:Problem 427C - Checkposts强连通 Tarjan算法
tarjan算法第一题    喷我一脸。。。。把手写栈的类型开成了BOOL,一直在找错。。。 #include #include #include #include #define maxn 100005 const int MOD=1000000007; using namespace std; struct node { int to,next; }edge[maxn...
分类:其他好文   时间:2014-05-15 08:18:56    阅读次数:353
【CF刷题】14-05-12
Round 236 div.1 A:只需要每个点连接所有比他大的点,知道边用完为止。 //By BLADEVIL#include #include #define maxn 25;using namespace std;int main() { int task; scanf("%...
分类:其他好文   时间:2014-05-13 21:24:43    阅读次数:440
CF大神的模板我改版的
1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include10 #include11 #include12 #include13 #include14 #inc....
分类:其他好文   时间:2014-05-13 10:09:24    阅读次数:280
CF大神的模板
#include #include #include #include #include #include #include #include #include #include #include #include using namespace std;//#pragma comment(link...
分类:其他好文   时间:2014-05-11 17:31:00    阅读次数:275
hbase hfilev2
HFileV2文件 HFileV2文件写入通过StoreFile.Writer-->HFileWriterV2进行写入。 文件格式通过hfile.format.version配置。默认为2,也只有2这个值在0.96可用。 可通过cf中配置DATA_BLOCK_ENCODING配置dataBlock的encoding, 可配置值:NONE,PREFIX,DIFF,FAST_DIFF,PREF...
分类:其他好文   时间:2014-05-11 02:57:42    阅读次数:589
【甘道夫】通过Mahout构建推荐系统--通过IDRescorer扩展评分规则
通过Mahout构建推荐系统时,如果我们需要加入某些过滤规则(比如:item的创建时间在一年以内),则需要用到IDRescorer接口,该接口源码如下: package org.apache.mahout.cf.taste.recommender; /**  *   * A {@link Rescorer} which operates on {@code long...
分类:其他好文   时间:2014-05-09 14:09:08    阅读次数:369
协同过滤User-based算法与Item-based算法对比
CF算法分为两大类,一类为基于memory的(Memory-based),也叫基于用户的(User-based),另一类为基于Model的(Model-based),也叫基于物品的(Item-based)。 User-based的基本思想是如果用户A喜欢物品a,用户B喜欢物品a、b...
分类:其他好文   时间:2014-05-08 19:15:35    阅读次数:280
2836条   上一页 1 ... 280 281 282 283 284 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!