SUBST1 - New Distinct Substrings
no tags
Given a string, we need to find the total number of its distinct substrings.
Input
T- number of test cases. T
Output
For each test case ou...
分类:
编程语言 时间:
2015-08-21 19:27:35
阅读次数:
168
function [F, maxf, V, S] = Ford_Fulkerson(C, src, sink)
n = size(C, 1);
F = zeros(n);
maxf = 0;
V = [];
S = [];
while true
% in: ResNet.
ResNet = C - F + F'; % residual network.
% ou...
分类:
编程语言 时间:
2015-08-15 11:59:02
阅读次数:
293
生成CAopenssl req -nodes -x509 -sha256 -newkey rsa:4096 -keyout "CA.ABC.LOCAL.key" -out "CA.ABC.LOCAL.crt" -days 365 -subj "/C=CN/ST=ZJ/L=HZ/O=ABC/OU=IT...
分类:
其他好文 时间:
2015-08-13 21:57:49
阅读次数:
197
------Java培训、Android培训、iOS培训、.Net培训、期待与您交流! -------
黑马程序员——22,字节流InputStream,OutputStream,字节流缓冲区技术,BufferedInputStream,BufferedOutputStream
/*
字节流的相关讲解:
InputStream(读操作),Ou...
分类:
其他好文 时间:
2015-08-09 12:36:42
阅读次数:
136
对于一个公司来说,只有员工二三十人是很容易在outlook的通讯簿中找到,但是如果该公司有几百或几千个人呢?对于一个新员工来说暂时未能记住所有人的名字而又只能看到全球通讯簿是难以查找出某位同事的。一个好的地址列表可以快速查找出公司人员,加快工作效率。本次实验主要实..
分类:
其他好文 时间:
2015-08-05 22:39:28
阅读次数:
316
Q:I have been trying to make our database clients pro-active about not filling up the partition on which the database they are using resides.As all ou...
分类:
数据库 时间:
2015-08-05 01:01:14
阅读次数:
209
8216 20150803154311 OU IP 338 053286677735 20150803154502 96 568116939 20150803/338_053286677735_20150803-154326_8216XML;echo '';$xml_obj...
分类:
Web程序 时间:
2015-08-03 18:19:16
阅读次数:
114
承接上一篇文章,今天谈论一下可以多客户端链接的ServerSocket。
这里面注意涉及到的技术点是:
1.ServerSocket
2.多线程
这次我们分成两个类来实现,先上代码:
package com.test.socket;
import java.io.IOException;
import java.io.InputStream;
import java.io.Ou...
分类:
编程语言 时间:
2015-07-27 19:02:16
阅读次数:
114
题意:给一些指定长宽高的砖,求能累出的最大高度,不同砖有不同编号,每种编号对下面的砖做出了限制dp注意输出要用%I64d,否则会wa,以后不用%lld了Sample Input310 10 12 010 10 12 110 10 11 2210 10 11 110 10 11 10Sample Ou...
分类:
其他好文 时间:
2015-07-27 18:20:07
阅读次数:
121
Currency ExchangeTime Limit:1000MSMemory Limit:30000KTotal Submissions:22405Accepted:8095DescriptionSeveral currency exchange points are working in ou...
分类:
其他好文 时间:
2015-07-26 00:23:45
阅读次数:
114