Rescue Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 29856 Accepted Submission(s): 10515 Proble ...
分类:
其他好文 时间:
2017-04-22 20:41:29
阅读次数:
219
Bag of mice CodeForces - 148D The dragon and the princess are arguing about what to do on the New Year's Eve. The dragon suggests flying to the mounta ...
分类:
其他好文 时间:
2017-04-18 18:44:59
阅读次数:
252
1003. Emergency (25) As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities ...
分类:
其他好文 时间:
2017-04-15 12:20:47
阅读次数:
146
?? 母函数 组合数学 #include<stdio.h> int c1[125]; int c2[125]; int main() { int n,i,j,k; while(scanf("%d",&n)!=EOF) { for(i=0;i<=n;i++) { c1[i]=1; c2[i]=0; } ...
分类:
其他好文 时间:
2017-04-12 09:29:58
阅读次数:
154
CentOS7的4种target模式:centos7不再像centos6那样有0-6运行级别,而是换成了4个target模式:(1)graphical.target,多人模式,支持图形和命令行两种登录,对应3和5级别(2)multi-user.target,多人模式,支持命令行登录,对应3级别(3)rescue.target,担任模式,对应1级别..
分类:
其他好文 时间:
2017-04-10 23:52:40
阅读次数:
607
http://www.cnblogs.com/joeylee97/p/6616039.html 1 #include<iostream> 2 #include<cstdio> 3 #include<string> 4 #include<cstring> 5 #include<cmath> 6 #in ...
分类:
编程语言 时间:
2017-04-02 10:58:17
阅读次数:
177
破解grub密码1.需要U盘引导,U盘引导设置进入bios里,修改boot,将U盘调到第一启动介质2.进入救援模式选完U盘引导后启动进入下图3.选择rescue那行选语言英文,选键盘usLocalCD/DVD............Continue尝试把你linux的分区挂载到/mnt/sysp_w_picpathRead-Only以只读的方式挂载..
分类:
其他好文 时间:
2017-03-31 22:07:35
阅读次数:
167
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1242 参考博文1:http://blog.csdn.net/iaccepted/article/details/23101875 参考博文2:http://blog.csdn.net/libin5684 ...
分类:
其他好文 时间:
2017-03-27 23:08:13
阅读次数:
264
题意: 出现超过n/2次的元素,是特殊的元素。 解题思路: 1. 在这个集合中每次删除两个不同的元素,那么剩下的最后一个元素,一定是特殊的元素。 2.把所有的元素排序,出现在n/2的元素,一定是特殊的元素 实现代码: ...
分类:
其他好文 时间:
2017-03-20 18:39:41
阅读次数:
158
题意:给n(n为奇数)个数,接下来给出n个数,并且其中一个数出现大于等于(n+1)/2次,请输出那个数 分析:数不多,可以map记录每个数的个数,然后迭代器寻找就可以了 也可以充分利用数大于一半的条件 #include<bits/stdc++.h> using namespace std; cons ...
分类:
其他好文 时间:
2017-03-15 14:39:21
阅读次数:
154