码迷,mamicode.com
首页 >  
搜索关键字:friend    ( 1299个结果
VBA学习笔记(2)-过程
过程是执行一个或多个给定任务的集合。分成:子程序和函数。1.子程序[Private|Public|Friend] [Static] Sub name [(arglist)][staements][Exit sub][statements]End SubFriend 表示Sub在整个工程可见,但对象实...
分类:编程语言   时间:2014-11-09 15:06:46    阅读次数:201
期望DP
期望DP的一般做法是从末状态開始递推:Problem DescriptionAkemi Homura is a Mahou Shoujo (Puella Magi/Magical Girl).Homura wants to help her friend Madoka save the world....
分类:其他好文   时间:2014-11-07 18:51:47    阅读次数:283
完整的C++实现算法导论十三章红黑树以及十四章中的顺序统计树
#include using namespace std; class BRTree; class BRTreeNode{ private: friend class BRTree; int key; bool color; int size; BRTreeNode *left; BRTreeNode *right; BRTreeNode *parent; public: //创...
分类:编程语言   时间:2014-11-06 14:51:53    阅读次数:227
实现一个整数类
注意点:前++和后++的区别。>>操作符注意处理输入失败的情形代码: 1 #ifndef INTEGER_H_ 2 #define INTEGER_H_ 3 4 #include 5 6 class Integer 7 { 8 9 friend std::ostream &opera...
分类:其他好文   时间:2014-11-05 16:52:41    阅读次数:181
POJ1733 Parity game (美丽的jo)
DescriptionNow and then you play the following game with your friend. Your friend writes down a sequence consisting of zeroes and ones. You choose a c...
分类:其他好文   时间:2014-11-05 16:26:25    阅读次数:179
#the Sound of silence
Hello darkness my old friend I've come to talk with you again Because a vision softly creeping Left its seeds while I was sleeping And the visio...
分类:其他好文   时间:2014-11-05 14:18:10    阅读次数:196
C++中模板类使用友元模板函数
在类模板中可以出现三种友元声明:(1)普通非模板类或函数的友元声明,将友元关系授予明确指定的类或函数。(2)类模板或函数模板的友元声明,授予对友元所有实例的访问权。(3)只授予对类模板或函数模板的特定实例的访问权的友元声明。(1)普通友元:templateclass A{ friend void f...
分类:编程语言   时间:2014-10-29 19:17:39    阅读次数:226
uva live-2322 - Wooden Sticks
首先排个序,然后找一次0花费,然后再找一次0花费,然后再找一次0花费,然后再找一次0花费......... 最后看找了几次,+1就是答案 #include #include #include #include #include #include using namespace std; struct node { int l,w; friend istream & op...
分类:其他好文   时间:2014-10-26 19:45:57    阅读次数:186
又一道Splay吐血题 [POJ 3580] SuperMemo
SuperMemoTime Limit:5000MSMemory Limit:65536KTotal Submissions:9878Accepted:3177Case Time Limit:2000MSDescriptionYour friend, Jackson is invited to a ...
分类:其他好文   时间:2014-10-22 23:36:47    阅读次数:330
Facebook图搜索unicorn
unicorn(独角兽),里面类似于倒排链的reference list,对应的term如friend:2,表示entity 2的朋友列表,整个结构是shard的,上面是top aggregator,然后是rack aggreator,支持StrongOr,weakAnd,Difference操作,还有apply(如找朋友的朋友),extract,有个nosql图数据库neo4j也是类似的,只是听...
分类:其他好文   时间:2014-10-18 22:25:29    阅读次数:271
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!