Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng ...
分类:
其他好文 时间:
2017-05-12 14:26:28
阅读次数:
102
GCD Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 10992 Accepted Submission(s): 4157 Problem D... ...
分类:
其他好文 时间:
2017-05-12 13:32:59
阅读次数:
299
1. dependendy引入 ${project.basedir} 表示项目根目录,自己本地的jar包,单独建一个文件夹保存 2. 引入本地的jar包在manven打包的时候是不会打入的war包里面的,实际运行的时候还是会缺少包 3. 加入配置可以把引入的本地包打入到war包的WEB-INF/li ...
分类:
其他好文 时间:
2017-05-12 13:14:04
阅读次数:
788
?? 建议不会的看别人的代码自己在之上模拟一遍,仅仅要耐心模拟就会做出来 题目链接:http://acm.nyist.net/JudgeOnline/problem.php?pid=35 #include<stdio.h> #include<string.h> #include<stdlib.h> ...
分类:
其他好文 时间:
2017-05-12 10:45:16
阅读次数:
142
这里主要总结一下这段时间对Socket编程的总结 1.如何正确的接收数据和如何正确的关闭连接 接收数据要配合正确的关闭连接来使用,关闭连接的时候要先Shutdown本地套接字,这样远程套接字就会Receive一个0字节,远程主机可以根据这个判断是否关闭连接,如果我们直接Close一个套接字,那么远程 ...
分类:
其他好文 时间:
2017-05-12 01:34:40
阅读次数:
253
name="donghuangtai" if name=="北京欢饮您": print("北京") elif name=="donghuangtai" : print("北京朝阳起") else: print("大背景") #格式化输出字符串 n="good{},{}shi yi ge da she... ...
分类:
编程语言 时间:
2017-05-12 00:02:27
阅读次数:
184
主函数main.c #include "func.h" #define MAXSIZE 100 INT32 main( void ) { INT32 temp[MAXSIZE] = {NULL}, f = 0, OSM = 1; OSM = create_SL (temp); do { OSM = ...
分类:
编程语言 时间:
2017-05-11 20:57:49
阅读次数:
181
#include #include #include #include #include #include main() { int fd,size,FileLen = 0,cur = 0; char s [ ]="Linux Programmer!",buffer[100]; //fd=open(... ...
分类:
其他好文 时间:
2017-05-11 17:08:10
阅读次数:
207
跳出指定的for循环体,和goto很像 1 K:for(int i=0;i<3;i++){//给这个for循环体取一个名字为K 2 for(int j=0;j<3;j++){ 3 if(j==1){break K;}//如果你不指跳出的for循环,那么就是跳出本地for循环,这里指定K,则调试for... ...
分类:
编程语言 时间:
2017-05-11 14:29:04
阅读次数:
178