HTTP/2: The Long-Awaited SequelThursday, October 9, 2014 2:01 AM6Ready to speed things up?Here at Microsoft, we’re rolling out support in Internet Exp...
分类:
其他好文 时间:
2014-10-10 00:57:23
阅读次数:
259
Just a JokeDescription Here is just a joke, and do not take it too seriously. Guizeyanhua is the president of ACMM, and people call him Presid...
分类:
其他好文 时间:
2014-10-10 00:34:21
阅读次数:
408
Write a code to read and write a matrix in below given way.Note : no. indicates the sequence here.I/P1 2 34 5 67 8 9O/P 11 4 72 5 83 6 9for(i=0;i<row;...
分类:
其他好文 时间:
2014-10-08 08:09:24
阅读次数:
194
问题: Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return –321 Have you thought about this? Here are some good questi...
分类:
其他好文 时间:
2014-10-07 19:51:14
阅读次数:
154
Reverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321Have you thought about this?Here are some good questions to ask...
分类:
其他好文 时间:
2014-10-07 15:47:23
阅读次数:
204
Hello world -- OS
我找到了华科绍志远博士的相关代码,发现他根据MIT的JOS的boot.S 稍作修改,然后单独剥离出来,可以很好玩~
资料下载地址:
http://download.csdn.net/detail/u011368821/8006465
原则上只需要两个文件(boot.S ...
分类:
其他好文 时间:
2014-10-06 17:48:50
阅读次数:
242
搞.net开发这么多年,知道和用过包含include指令吗? from: 来源 1. 数据绑定语法:<%# %> Here is ...
分类:
Web程序 时间:
2014-10-06 16:13:00
阅读次数:
221
一、单点更新
1.hdu1166 敌兵布阵:有N个兵营,每个兵营都给出了人数ai(下标从1开始),有四种命令,(1)”Addij",表示第i个营地增加j人。(2)“Sub i j”,表示第i个营地减少j人。(3)“Query ij",查询第i个营地到第j个营地的总人数。(4)”End“,表示命令结束。解题报告Here。
2.hdu1754 I Hate It:给...
分类:
其他好文 时间:
2014-10-05 11:16:58
阅读次数:
419
题目链接:here—————— 题意:有四个人 A,B,C,D 每天出一套卷子,相邻的两天不能由同一个人出题 给你两个数n,m分别表示n天和m个操作(把第ai天定为有bi出题) 问有多少种方式?? 题解: 先排序 if bi == bi-1 && ai - ...
分类:
其他好文 时间:
2014-10-03 11:31:54
阅读次数:
287
题目见here
题意:给一个序列arr[],你从中选择一些子序列,将子序列的值从左往右依次放到某棵二叉树的叶子节点上,使得除了叶子,所有节点左右子树权和相等。子树的权和 = 子树叶子的权和。如果存在这样一棵二叉树,选择的子序列就是合法的。问,最长的合法子序列是多少。
思路:
枚举二叉树可能的叶子的最小权(入手点),显然,能和此数一起组成二叉树的数,要么和这个数相等,要么是这个数的2^k倍。把...
分类:
其他好文 时间:
2014-10-03 02:05:43
阅读次数:
259