Redundant Paths
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 10798
Accepted: 4626
Description
In order to get from one of the F (1 <= F <= 5,000) graz...
分类:
其他好文 时间:
2015-08-18 16:24:09
阅读次数:
189
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 7687 Accepted Submission(s): 4674
Problem Description
Eddy's interest is very exten...
分类:
其他好文 时间:
2015-08-18 16:23:20
阅读次数:
112
IP 协议位于网络层,它是 TCP/IP 协议族中最为核心的协议,所有的 TCP、UDP、ICMP 及 IGMP 数据都以 IP 数据报格式传输。IP 协议提供的是
不可靠 、 无连接 的数据报传送服务。
不可靠(unreliable):IP 协议不能保证数据报能成功地到达目的地,它仅提供传输服务。当发生某种错误时,IP 协议会丢弃该数据报。传输的可靠性全由上层协议来提供。
...
分类:
其他好文 时间:
2015-08-18 16:20:13
阅读次数:
145
Sudoku
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 16024
Accepted: 7824
Special Judge
Description
Sudoku is a very simple task. A square table with 9...
分类:
其他好文 时间:
2015-08-18 16:20:53
阅读次数:
127
switch结构不利于代码重用,往往可以用对象形式重写。
var o = {
banana: function (){ return },
apple: function (){ return },
default: function (){ return }
};
if (o[fruit]){
o[fruit]();
} else {
o['defau...
分类:
其他好文 时间:
2015-08-18 16:20:59
阅读次数:
102
The kth great number
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others)
Total Submission(s): 8622 Accepted Submission(s): 3399
Problem Description
Xiao ...
分类:
其他好文 时间:
2015-08-18 16:19:29
阅读次数:
174
angularjs 中的$watch 用来监控变量的变化,并做出改变.
在 ionic 中也有这个需求,这有个小小的坑.
<input type="text" placeholder="Search" ng-model=...
分类:
其他好文 时间:
2015-08-18 16:20:21
阅读次数:
112
之前研究过一段时间的人脸性别识别,将之前查阅的论文总结总结,与大家分享一下,也方便日后汇总。
1、基于LBP,亮度、形状直方图的多尺度特征融合的性别识别(Gender Classification Based on Fusion of Different Spatial Scale Features Selected by Mutual Information From Histogra...
分类:
其他好文 时间:
2015-08-18 16:20:50
阅读次数:
247
题目Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at the head of the list.分析该题目要求:将一整数按位存储在vector中,对其...
分类:
其他好文 时间:
2015-08-18 16:19:01
阅读次数:
129
Arbitrage
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 17921
Accepted: 7571
Description
Arbitrage is the use of discrepancies in currency exchange rates t...
分类:
其他好文 时间:
2015-08-18 16:18:07
阅读次数:
95
最短路径问题
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 17954 Accepted Submission(s): 5378
Problem Description
给你n个点,m条无向边,每条边都有长度d和花...
分类:
其他好文 时间:
2015-08-18 16:18:37
阅读次数:
143
题意:
给出01矩阵,问从(1,1)到(n,m)走过的路中所有01组成的二进制字符串所代表的数字最小是多少。分析:
首先前缀0是要去掉的,另外发现只有不断地向下和向右走就能达到最短路。所以首先dfs找到所有能走的0的位置,去掉前缀0.然后bfs向右下角进行,有0 的地方就走0,不走1,没有任何0的情况下才走1.如果有多个0就都走,看谁后面还有0.如果没有0,就全部的1都...
分类:
其他好文 时间:
2015-08-18 16:18:18
阅读次数:
130
还是不怎么理解KMP
#include
#include
#define maxn 10010
using namespace std;
string s1,s2;
int nextt[maxn];
void kmp()
{
nextt[0]=-1;
int l=0;
int k=-1;
while(l<s1.size())
{
if(k==-1||s1[l]==s1[k]) ne...
分类:
其他好文 时间:
2015-08-18 16:18:36
阅读次数:
130
The idea is similar to Strobogrammatic Number II: generate all those in-range strobogrammatic numbers and count.You may refer to this link for a very ...
分类:
其他好文 时间:
2015-08-18 16:15:14
阅读次数:
858
1
分类:
其他好文 时间:
2015-08-18 16:11:49
阅读次数:
86
装修是大多数人一生中不可避免的一件既开心又痛苦的事,装修前往往会找装修公司或者设计师设计,满意后再根据设计开工装修。而这往往是很多业主不愿意花又不得不花的一笔费用,究其原因就是因为不懂如何设计,所以我介绍几款设计师们常用的装修设计软件,既有专业也有大众化的设计软件,喜欢的可以继续看,不喜欢的可以叉掉...
分类:
其他好文 时间:
2015-08-18 16:12:48
阅读次数:
190
看到RM在处理异常的时候使用了两种退出方式,而且是针对不同的异常。特意查询了一些资料来看看,两种方式有什么不同。System.exit终止当前正在运行的Java虚拟机。参数作为状态代码,按照惯例,一个非零状态码表示异常终止。用线程描述,在多线程情况下,可能更准确一些1.调用方法后,线程会退出2.未捕...
分类:
其他好文 时间:
2015-08-18 16:11:12
阅读次数:
171