感言:以后中国高中生的专场还是慎入!!!!
A题目还是比较简单
AC代码:
#include
#include
using namespace std;
struct p
{
int number;
int val;
}num[105];
bool cmp(p x,p y)
{
if(x.val==y.val)
return x.number>...
分类:
其他好文 时间:
2014-07-22 22:49:34
阅读次数:
186
There are n children in Jzzhu's school. Jzzhu is going to give some candies to them. Let's number all the children from 1 to n.
The i-th child wants to get at least ai candies.
Jzzhu asks childre...
分类:
其他好文 时间:
2014-07-22 22:49:13
阅读次数:
237
题目描述: Given an increasing sequence S of N integers, the median is the number at the middle position. For example, the median of S1={11, 12, 13, 14} is...
分类:
其他好文 时间:
2014-07-22 22:48:53
阅读次数:
207
ENTBOOST,VERSION 2014.183 Windows(点击下载)版本发布,主要增加PC端P2P(点对点)文件传输功能;发布安卓Android手机客户端APP 1.0版本;发布苹果IOS手机(平板)客户端SDK测试版本,完善安卓SDK功能及部分B...
centos下 我新安装了个jdk1.7的版本 ,vi profile 之后 java -version 是新版本,想在看看javac -version 发现还是1.6的 之前安装了1.6的 那好咱就卸载他 查找Java 版本信息 rpm?-qa|grep?java?? 返回如下信息...
分类:
编程语言 时间:
2014-07-22 08:31:37
阅读次数:
257
题目如下: Counting Subsequences Time Limit: 5000 MSMemory Limit: 65536 K Description ?"47 is the quintessential random number," states the 47 society. And there might be a grain of truth in that....
分类:
其他好文 时间:
2014-07-22 08:13:34
阅读次数:
281
maven中手动去更新jar包,是一件比较繁琐麻烦的事情,使用Range Dependency则可以省去这一步骤。 部分jar包可能会自动升级到beat版本! 官方说明文档:Dependency Version Ranges Range Meaning (...
分类:
其他好文 时间:
2014-07-21 10:30:10
阅读次数:
243
1、拷贝cms公钥到managed上,cms依赖免秘钥的root执行环境 #非默认端口,你懂的 ssh-copy-id -i ~/.ssh/id_rsa.pub "-p port_number root@192.168.201.74" 2、managed上存放iso目录,拷贝镜像存放到该目录 #目录位...
分类:
其他好文 时间:
2014-07-21 10:17:27
阅读次数:
341
System.getProperty()参数大全? 查资料用: java.version?Java?Runtime Environment version java.vendor?Java?Runtime Environment vendor java.vendor.url?Java?vendor URL java.home?Java?installatio...
分类:
其他好文 时间:
2014-07-21 10:13:53
阅读次数:
258
当我们一个团队开发一个项目的时候,需要的Python第三方包基本是固定的,每次搭建新环境的时候总是因为各种内外网,https问题花费大量的时间来安装运行环境。所以搭建一个本地的,小巧的,只包含需要的package的源,或者cache都行,对于搭建环境可以节省很多时间。这里使用的是..
分类:
其他好文 时间:
2014-07-20 00:41:51
阅读次数:
780