一直以来,只知道out可以向客户端浏览器页面输入数据(html、txt等类型),今天在和php程序联调时发现自己的理解出现了偏差。out是输出字符流,即servlet接受到request请求后,servlet使用out来返回结果,不管客户端是什么(浏览器或者httpclient 或者别的serlve...
分类:
其他好文 时间:
2014-08-24 00:12:31
阅读次数:
192
Given two integers n and k, return all possible combinations of k numbers out of 1 ... n.For example,If n = 4 and k = 2, a solution is:[ [2,4], [3,4.....
分类:
其他好文 时间:
2014-08-23 21:37:41
阅读次数:
199
1.jsp的九大隐式对象
request
HttpServletRequest
response HttpServletResponse
session HttpSession
application
ServletcContext
config ServletConfig
exception
(特殊情况下使用)
page
this(本JSP页面)
ou...
分类:
Web程序 时间:
2014-08-23 20:24:31
阅读次数:
205
Description
Combinatorics is a branch of mathematics chiefly concerned with counting discrete objects. For instance, how many ways can you pick two people out of a crowd of
n people? Into how many...
分类:
其他好文 时间:
2014-08-23 20:24:01
阅读次数:
317
矩阵维度表示和正常相反。 a[2][3],行2列3,a.shape.shape_[0]=3,a.shape.shape_[1]=2.pred.Resize( Shape2( batch_size, num_out ) );Resize相当于STL的reserve,预先分配空间。Shape2说明是一个...
分类:
其他好文 时间:
2014-08-23 20:22:11
阅读次数:
253
问题:
今天中午沛爷解决了OJ打开慢的问题以后刚走,我随后在oj上交了个题目就发现waiting了.....
问马前辈和全哥,均认为测评程序挂了,于是重启测系统,还waiting.....(测评系统的进程一直在,就是waiting)
听全哥的开始查看测评系统的日志文件:
日志文件在oj_judge/nohup.out,出现N多的ERROR:root:Cannot connect to da...
分类:
其他好文 时间:
2014-08-23 19:07:01
阅读次数:
253
命令处理区加入
int Look_File(pCommand b)
{
int _out_style = 1;
int _line_number = 1;
int _len_argu = strlen(b->Cmd_Arguments);
while (--_len_argu >= 0)
{
switch (b->Cmd_Arguments[_len_argu])
{
ca...
分类:
其他好文 时间:
2014-08-23 17:45:41
阅读次数:
192
AttemptID:attempt_1390962167768_0001_m_000026_0 Timed out after 600 secs14/01/29 10:56:54 INFO mapreduce.Job: map 13% reduce 0%14/01/29 10:57:28 INFO ...
分类:
其他好文 时间:
2014-08-23 15:11:20
阅读次数:
591
There are some specialists pointing out the mechanical tools together with the positive aspects of energy-saving and environmental protection is just ...
分类:
移动开发 时间:
2014-08-23 11:12:20
阅读次数:
280
一.1.下载安装JDK,JDK为java的工具包。2.如何配置classpath,path.安装完jdk之后,在path加入C:\ProgramFiles(x86)\Java\jdk1.8.0_05\bin.在classpath中加入‘.‘3.HelloWorld例子。publicclassHello{publicstaticvoidmain(Stringargs[]){System.out.println("Helloworld!");}}将..
分类:
编程语言 时间:
2014-08-23 02:30:00
阅读次数:
216