题目链接:http://codeforces.com/problemset/problem/750/C 题目: Every Codeforces user has rating, described with one integer, possibly negative or zero. Users ...
分类:
其他好文 时间:
2018-01-20 20:30:58
阅读次数:
234
P3119 [USACO15JAN]草鉴定Grass Cownoisseur 题目描述 In an effort to better manage the grazing patterns of his cows, Farmer John has installed one-way cow path ...
分类:
其他好文 时间:
2017-11-26 11:14:57
阅读次数:
163
从github上下载的代码,运行autogen.sh的时候,上报错误: $ ./autogen.sh --prefix=/usr./autogen.sh: 10: ./autogen.sh: autoreconf: not found 资料搜索,结果是我的ubuntu系统缺少相应的安装包,解决方式如 ...
分类:
其他好文 时间:
2017-10-17 18:57:48
阅读次数:
278
1003. Emergency (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue 时间限制 400 ms 时间限制 400 ms 内存限制 65536 kB 内存限制 65536 kB 代码长度限制 16 ...
分类:
其他好文 时间:
2017-09-27 20:54:36
阅读次数:
161
blank.c check_user.c vpass.c xsh.c ...
分类:
其他好文 时间:
2017-09-23 23:22:22
阅读次数:
282
Iterator: 迭代器接口,是Collection接口的父接口。Implementing this interface allows an object to be the target of the "foreach" statement. 也就是说,所有的Collection集合对象都具有f ...
分类:
编程语言 时间:
2017-08-31 18:03:54
阅读次数:
227
The best strategy to play the game is to minimize the maximum loss you could possibly face. Definition of dp[i][j]: minimum number of money to guarant ...
分类:
其他好文 时间:
2017-08-08 21:52:11
阅读次数:
116
11月10日晚上8点多。眼看要到双十一了。。。 但我要说的这段经历却和双十一毫无关系。哈哈。这天准备向CentOS6.5server的svn上传一些文件,结果开机启动时,却出现了以下的界面: 这是肿么回事?依据屏幕的提示,先使用root账号登录到系统。然后使用fsck命令手工检測 #cd /tmp/ ...
分类:
其他好文 时间:
2017-07-24 14:51:36
阅读次数:
148
Given a complete binary tree, count the number of nodes. Definition of a complete binary tree from Wikipedia:In a complete binary tree every level, ex ...
分类:
其他好文 时间:
2017-06-19 01:15:45
阅读次数:
201
1. 打开或关闭一个文件 NAME open, creat open and possibly create a file or device SYNOPSIS #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> open用 ...
分类:
其他好文 时间:
2017-06-11 17:27:47
阅读次数:
243