#include #include #include #include #include int SearchStr(PTSTR pszString, int iStrLen, PTSTR pszSearchStr){ int i = 0; int iSearchStrlen = _tc...
分类:
其他好文 时间:
2015-04-27 23:38:56
阅读次数:
143
Update everyday.(Last edit:4/27 21:39)Task 1:TPO X 2.5(finish 1,then finish 2 more)Task 2:TC Tarjan相关(Ch.22)Task 3:To be continued
分类:
其他好文 时间:
2015-04-27 23:21:25
阅读次数:
107
crox 转义取值: A: {{root.e>2}} - B: {{'a b\tc' 不转义取值: A: {{{root.e>2}}} - B: {{{'a b\tc' 原样输出: "{{#raw}}{{ro...
分类:
其他好文 时间:
2015-04-21 12:51:00
阅读次数:
180
前面说了TCP客户端通讯,这一篇来说说单片机作为服务器的通讯方法 tcp客户端和服务器的链接做大的不同在于服务器是不需要主动链接谁的,他只需要绑定在自己得一个特定的端口之上,等别人来连接就好了,先创建任务 //创建TCP服务器线程//返回值:0 TCP服务器创建成功// 其他 TC...
分类:
Web程序 时间:
2015-04-18 17:36:48
阅读次数:
202
MongoDB系列:MongoDB介绍MongoDB2.4.10安装和配置MongoDB实现currentOp定时捕获MongoDB使用副本集备份添加新的辅助副本成员MongoDB日志切换(RotateLogFiles)方法及注意事项MongoDB日志切换(RotateLogFiles)指南MongoDB日志切换(RotateLogFiles)实战replSeterrorRS102too..
分类:
数据库 时间:
2015-04-17 18:31:26
阅读次数:
327
一、 Arena插件配置1. 下载Arena 指针:http://community.topcoder.com/tc?module=MyHome 左边Competitions->Algorithms->Single Match Rounds->Launch Arena->Load Competi.....
分类:
其他好文 时间:
2015-04-17 13:19:30
阅读次数:
135
#!/usr/bin/python?
?
#client
?
from?socket?import?*?
?
HOST?=?‘127.0.0.1‘?
PORT?=?21567?
BUFSIZ?=?1024?
ADDR?=?(HOST,PORT)?
?
tcpCliSock?=?socket(AF_INET,?SOCK_STREAM)?
tc...
分类:
编程语言 时间:
2015-04-17 07:21:55
阅读次数:
155
因为老师要求用TC所以是在TC上运行……因为上课讲的课下就忘了:虽然老师用的是2.0,以下是在TC3.0上运行的,记下来以免哪天又记忆损伤【主文件-cwww1.cpp】↑主文件:a,b,c为全局变量,plus为全局函数,文件名:cww1.cpp【函数文件-cwww2.cpp】↑文件2:extern那...
分类:
编程语言 时间:
2015-04-16 01:05:37
阅读次数:
193
Problem Statement
Given two positive integers x and y, their similarity S(x, y) is defined as follows: To compute S(x, y) we count all d between 0 and 9, inclusive, such that both x and y...
分类:
其他好文 时间:
2015-04-12 16:16:23
阅读次数:
119