Gopher IITime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 6675Accepted: 2732DescriptionThe gopher family, having averted the canine threat, mu...
分类:
其他好文 时间:
2014-08-18 09:11:23
阅读次数:
277
A + B Problem II
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 209179 Accepted Submission(s): 40226
Problem Description
I ha...
分类:
其他好文 时间:
2014-08-17 18:39:32
阅读次数:
184
一、写在前面目前市面上所用的IIS版本估计都是>=6.0的.所以我们主要以下面三个版本进行讲解服务器版本 IIS默认版本server20036.0server20087.0server20128.0二、IIS6的请求过程 由图可知,所有的请求会被服务器中的http.sys组件监听到,它会根据II.....
分类:
其他好文 时间:
2014-08-17 18:22:12
阅读次数:
270
UVA 10869 - Brownie Points II
题目链接
题意:平面上n个点,两个人,第一个人先选一条经过点的垂直x轴的线,然后另一个人在这条线上穿过的点选一点作垂直该直线的线,然后划分出4个象限,第一个人得到分数为1,3象限,第二个人为二四象限,问第一个个人按最优取法,能得到最小分数的最大值,和这个值下另一个人的得分可能情况
思路:树状数组,可以枚举一点,如果能求出...
分类:
其他好文 时间:
2014-08-16 23:51:11
阅读次数:
531
题目链接:http://poj.org/problem?id=2536
题意:已知有n只老鼠的坐标,m个洞的坐标,老鼠的移动速度为V,S秒以后有一只老鹰要吃老鼠,问有多少个老鼠被吃。
很明晰,二分匹配,老鼠为X集合,洞为Y集合
#include
#include
#include
#include
#include
#include
#define i...
分类:
其他好文 时间:
2014-08-16 19:48:31
阅读次数:
239
Given an integer n, generate a square matrix filled with elements from 1 to n2 in
spiral order.
For example,
Given n = 3,
You should return the following matrix:
[
[ 1, 2, 3 ],
[ 8, 9, 4 ],
[...
分类:
其他好文 时间:
2014-08-15 22:37:39
阅读次数:
274
湫湫系列故事——减肥记II
Time Limit: 5000/2000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)
Total Submission(s): 2395 Accepted Submission(s): 1018
Problem Description
虽然制定了减肥食谱,...
分类:
其他好文 时间:
2014-08-15 19:42:59
阅读次数:
255
原题:
Given an array of integers, every element appears three times except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it withou...
分类:
其他好文 时间:
2014-08-15 14:46:48
阅读次数:
207
一个出栈有多少种顺序的问题。一般都知道是Catalan数了。
问题是这个Catalan数很大,故此需要使用高精度计算。
而且打表会速度快很多,打表公式要熟记:
Catalan数公式 Cn=C(2n,n) / (n+1);
递推公式 C(n ) = C(n-1)*(4*n-2) / (n+1)
高精度乘以一个整数和高精度除以一个整数的知识,这样还是使用整数数组比较好计算,如果使用str...
分类:
其他好文 时间:
2014-08-15 12:57:58
阅读次数:
263
由树莓派引发的卡片电脑热潮,国内嵌入式开发商也纷纷开发体积小的卡片电脑。国内著名嵌入式开发商天嵌科技与飞凌嵌入式也开发卡片电脑。现在,将对天嵌的E8卡片式电脑与飞凌的OK335xS-II开发板进行基本参数的对比。
分类:
其他好文 时间:
2014-08-14 13:32:08
阅读次数:
223