题目链接:戳我题目大意:给一些人,包括姓名(保证唯一,只有小写)和 杀人数,当杀人数相同时,按照姓名的字典序小的在前。要求先输出每个人的排序后的名字和次序。M询问,每次询问一个人名,输出这个人的 主次序(比他杀人多的总人数+1),和 次次序(和这个人杀了相同的人里面,他排第几)。如果次次序是1,不用...
分类:
其他 时间:
2015-10-14 23:26:11
收藏:
0 评论:
0 赞:
0 阅读:
285
1 package duix; 2 3 public class Shu { 4 5 //书的种类 6 public String Shuzl; 7 8 //书的名字 9 public String Shumz;10 11 //某本书的...
分类:
其他 时间:
2015-10-14 23:26:01
收藏:
0 评论:
0 赞:
0 阅读:
153
#include#include//strcmp()用于比较两个字符串#include//getch()#define max 200char pro[max], lin[20];int n,i,syn;char *word[6]={ "begin", "if" , "then", "while",...
分类:
其他 时间:
2015-10-14 23:25:31
收藏:
0 评论:
0 赞:
0 阅读:
230
代码: 两列图片瀑布流(一次后台取数据,无ajax,图片懒加载。下拉后分批显示图片。图片高度未知,当图片onload后才显示容器)【思路】:图片瀑布流,网上代码有多种实现方式,也有各类插件。没找到合意的,所以根据网上找的一段代码,进行了较大改动。需引用zepto 或 jquery。我这个是应用于手机...
分类:
其他 时间:
2015-10-14 23:25:21
收藏:
0 评论:
0 赞:
0 阅读:
1885
Description:Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents...
分类:
其他 时间:
2015-10-14 23:25:01
收藏:
0 评论:
0 赞:
0 阅读:
222
dp(x)表示前x个的最大值, Max(x)表示含有因数x的dp最大值. 然后对第x个数a[x], 分解质因数然后dp(x) = max{Max(t)} + 1, t是x的因数且t>=L---------------------------------------------------------...
分类:
其他 时间:
2015-10-14 23:24:41
收藏:
0 评论:
0 赞:
0 阅读:
300
#include#include//strcmp()#include//getch()#define max 200char pro[max], lin[20];int n,i,syn;char *word[6]={ "begin", "if" , "then", "while", "do" ,"e...
分类:
其他 时间:
2015-10-14 23:24:01
收藏:
0 评论:
0 赞:
0 阅读:
259
ISO/IEC 9899:2011 条款6.7.1——存储类说明符
分类:
其他 时间:
2015-10-14 23:23:41
收藏:
0 评论:
0 赞:
0 阅读:
235
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:
其他 时间:
2015-10-14 23:23:20
收藏:
0 评论:
0 赞:
0 阅读:
239
Aggressive cows http://poj.org/problem?id=2456N间小屋,M头牛,使得牛跟牛之间的距离最远,以防止牛打架。2 File Name: AggressiveCows_poj2456.cpp > Author: spzhao > Mail: spzh...
分类:
其他 时间:
2015-10-14 23:22:51
收藏:
0 评论:
0 赞:
0 阅读:
221
Problem DescriptionGiven two sequences of numbers : a[1], a[2], ...... , a[N], and b[1], b[2], ...... , b[M] (1 #include#include#include#include#inclu...
分类:
其他 时间:
2015-10-14 23:22:41
收藏:
0 评论:
0 赞:
0 阅读:
253
__weaktypeof(self)weakSelf=self;myObj.myBlock=^{__strongtypeof(self)strongSelf=weakSelf;if(strongSelf){[strongSelfdoSomething];//strongSelf!=nil//pree...
分类:
其他 时间:
2015-10-14 23:22:11
收藏:
0 评论:
0 赞:
0 阅读:
198
Description:Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents...
分类:
其他 时间:
2015-10-14 23:21:41
收藏:
0 评论:
0 赞:
0 阅读:
233
【初识Github】首先让我们大家一起喊一句“Hello Github”。YEAH!就是这样。Git是一个分布式的版本控制系统,最初由Linus Torvalds编写,用作Linux内核代码的管理。在推出后,Git在其它项目中也取得了很大成功,尤其是在Ruby社区中。目前,包括Rubinius和Me...
分类:
其他 时间:
2015-10-14 23:21:31
收藏:
0 评论:
0 赞:
0 阅读:
226
一些常见的故障NM周期性的给RM发送heartbeats,如果RM发现server fails,则它会让所有与这个server有关的AM知道,让受影响的job的AM采取一些action,重新分配它的task.目前为止还没有能监测到RM failure的情况,我们使用hard backup,如果fai...
分类:
其他 时间:
2015-10-14 23:21:21
收藏:
0 评论:
0 赞:
0 阅读:
267
两种获取connectionString的方式1.publicstaticstringconnectionString=ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; 2.publicsta.....
分类:
其他 时间:
2015-10-14 23:20:31
收藏:
0 评论:
0 赞:
0 阅读:
304
1问题:在list 中清空所有的记录,只使用使用单循环,不使用removeAll()2可以写出五种方式,代码如下:Java代码importjava.util.ArrayList;importjava.util.Iterator;importjava.util.List;publicclassList...
分类:
其他 时间:
2015-10-14 23:20:11
收藏:
0 评论:
0 赞:
0 阅读:
219
http://blog.csdn.net/wangxm245/article/details/7792723第一步:在要删除的仓库目录下,点击页面右侧下方的settings按钮第二步:在settings页的最下方有个Danger Zone,点击删除会弹出警告框第三步:在警告框中填入要删除的仓库的名字...
分类:
其他 时间:
2015-10-14 23:19:51
收藏:
0 评论:
0 赞:
0 阅读:
263
一 登陆saiku时发生了什么大致流程saiku 默认有admin和两个开发人员的身份登陆saiku时,后台用户认证成功后创建了用户信息session并在session中存储了随机生成的一个sessionId这是每个用户对应唯一的一个身份id然后访问/saiku/rest/saiku/session...
分类:
其他 时间:
2015-10-14 23:19:21
收藏:
0 评论:
0 赞:
0 阅读:
213
蒲公英托管平台网站http://www.pgyer.com/首先说一下蒲公英是干什么的,蒲公英就是你程序希望给别的用户测试,但是他手机又没有在的开发者账号列表下,那么就需要企业账号打包才可以给用户进行安装,但是安装你又需要架设一个网页,等等其他麻烦事情,所以使用蒲公英可以简单做到这些事情,你无须有企...
分类:
其他 时间:
2015-10-14 23:18:51
收藏:
0 评论:
0 赞:
0 阅读:
326