发现个好玩的东东, 忍不住想分享出来, 好可爱, 哈哈哈~~ node环境执行命令: npm i cowsay -D npx cowsay hello! npx cowsay -f sheep hi,friends~ npx cowsay -f milk healthy~ npx cowsay -f ...
分类:
其他好文 时间:
2019-06-03 21:58:59
阅读次数:
134
There are N students in a class. Some of them are friends, while some are not. Their friendship is transitive in nature. For example, if A is a direct ...
分类:
其他好文 时间:
2019-05-17 16:56:03
阅读次数:
164
Little Sub and Johann 题目描述 Little Sub and Johann are good friends and they often play games together. Recently, they like playing with stones.They hav ...
分类:
其他好文 时间:
2019-05-04 22:31:27
阅读次数:
200
-(void)_test6{ RACSignal *signal = [RACSignal createSignal:^RACDisposable *(id subscriber) { [subscriber sendNext:@"first value"]; [subscriber sendNex... ...
分类:
其他好文 时间:
2019-05-03 18:53:39
阅读次数:
182
-(void)_test4{ ///RAC combineLatest和merge // combineLatest只有当两个信号都发送了 订阅者才能收到信息 结果一次收到 结果是数组 // merge只要有一个发送了就能收到 结果一条一条收到 // RACSubject *baseSubjectT... ...
分类:
其他好文 时间:
2019-05-03 18:20:33
阅读次数:
124
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3710 说下思路: 用vector记录每个人所结交的朋友,利用set的特性(不能存在重复元素)筛选出不是两个人共同的朋友的数量,然后 x结交的朋友的数量 + y结交的 ...
分类:
其他好文 时间:
2019-05-02 15:43:28
阅读次数:
116
@Retention(RetentionPolicy.RUNTIME) public @interface MongodbTable { String name(); } public class AbstractMongoDao { private Class clazz; private Str... ...
分类:
编程语言 时间:
2019-04-24 23:25:00
阅读次数:
285
题目传送门:CSU - 1356 Catch 题目大意: 存在一个n个点m条边的无向图,给定一个出发点,每个时间点能够走到相邻的下个点。能够走重复的边, 问是否存在某一个时间点,他可能停留再任意的n个点之间。 分析: 首先图是联通的,不连通则无法到达一部分点,可以发现如果该图是一条链的话,到达的点分 ...
分类:
其他好文 时间:
2019-04-20 10:13:21
阅读次数:
136
There are N students in a class. Some of them are friends, while some are not. Their friendship is transitive in nature. For example, if A is a direct ...
分类:
其他好文 时间:
2019-04-06 18:27:49
阅读次数:
93