http://acm.hdu.edu.cn/showproblem.php?pid=2680 Problem Description One day , Kiki wants to visit one of her friends. As she is liable to carsickness , ...
分类:
编程语言 时间:
2017-06-10 10:46:48
阅读次数:
223
Description The crowdedness of the discotheque would never stop our friends from having fun, but a bit more spaciousness won't hurt, will it? The disc ...
分类:
其他好文 时间:
2017-06-09 00:55:43
阅读次数:
340
题目:http://acm.hdu.edu.cn/showproblem.php?pid=5305 题意:给定N个人和M条朋友关系,是朋友关系的两个人之间有两种联系方式online和offline。使每一个人的online的数量和offline的数量相等,求方案数。 分析:因为M<=28,暴力枚举的 ...
分类:
其他好文 时间:
2017-06-05 18:55:48
阅读次数:
153
開始对点搜索,直接写乱了。想了想对边搜索,尽管复杂度高。剪枝一下水过去了。 代码: #include<cstdio> #include<iostream> #include<cstring> #include<vector> using namespace std; struct Edge{ int ...
分类:
其他好文 时间:
2017-05-29 19:18:30
阅读次数:
147
TT and FF are ... friends. Uh... very very good friends -________-b FF is a bad boy, he is always wooing TT to play the following game with him. This ...
分类:
其他好文 时间:
2017-05-29 14:05:44
阅读次数:
344
Description Twilight Sparkle was playing Ludo with her friends Rainbow Dash, Apple Jack and Flutter Shy. But she kept losing. Having returned to the c ...
分类:
其他好文 时间:
2017-05-22 18:26:07
阅读次数:
171
Robert is a famous engineer. One day he was given a task by his boss. The background of the task was the following: Given a map consisting of square b ...
分类:
其他好文 时间:
2017-05-22 15:12:21
阅读次数:
183
Today is Ignatius' birthday. He invites a lot of friends. Now it's dinner time. Ignatius wants to know how many tables he needs at least. You have to ...
分类:
其他好文 时间:
2017-05-20 18:59:30
阅读次数:
156
javascript继承的6种方法 1.原型链继承. 特点:既继承了父类的模板,又继承了父类的原型对象。 缺点:只能在父类设置一些参数,子类不能灵活传参,不符合面向对象的思想,包含引用类型值的属性始终都会共享相应的值。 2.借用构造函数继承 特点:只继承了父类的模板,不继承父类的原型对象。 缺点:方 ...
分类:
编程语言 时间:
2017-05-19 00:01:55
阅读次数:
228
原文地址 https://security.googleblog.com/2017/02/another-option-for-file-sharing.html Another option for file sharing February 21, 2017 February 21, 2017 ...
分类:
其他好文 时间:
2017-05-18 09:55:30
阅读次数:
254