上一页 1 ··· 270 271 272 273 274 275 276 277 278 ··· 292 下一页
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5379 Problem Description Little sun is an artist. Today he is playing mahjong alone. He suddenly feels 阅读全文
posted @ 2017-04-30 20:42 clnchanpin 阅读(162) 评论(0) 推荐(0)
摘要: 在Linux,网络分为两个层,各自是网络堆栈协议支持层,以及接收和发送网络协议的设备驱动程序层。网络堆栈是硬件中独立出来的部分。主要用来支持TCP/IP等多种协议,网络设备驱动层是连接网络堆栈协议层和网络硬件的中间层。 网络设备驱动程序的主要功能是: (1)模块载入或内核启动相关的初始化处理 (2) 阅读全文
posted @ 2017-04-30 19:27 clnchanpin 阅读(380) 评论(0) 推荐(0)
摘要: public class Demo1 { public static void main(String[] args) { List<Integer> list = new ArrayList<Integer>(); list.add(-1); list.add(-2); list.add(-4); 阅读全文
posted @ 2017-04-30 18:54 clnchanpin 阅读(3274) 评论(0) 推荐(0)
摘要: 题意:即3个连续的wbw算是一个love。看一下某个区间共同拥有多少个love,多次询问。还有替换某个位置的字母,然后询问。 用树状数组处理,题目并不难,但由于一处想当然错了N次。。。 题目链接: Panda #include"stdio.h" #include"string.h" #define 阅读全文
posted @ 2017-04-30 18:13 clnchanpin 阅读(136) 评论(0) 推荐(0)
摘要: 网上有关压缩和解压zip包的博文一大堆,我随便找了一个。看了看,依照自己的须要改动了一下,与各位分享一下,希望各位大神指正: package com.wangpeng.utill; import java.io.File; import java.io.FileInputStream; import 阅读全文
posted @ 2017-04-30 17:24 clnchanpin 阅读(182) 评论(0) 推荐(0)
摘要: 1 首先须要安装Cython。网上下载后进行本地安装 python setup.py install 2 下载Sklearn包,https://pypi.python.org/pypi/scikit-learn/0.14.1 。进行本地安装(使用pip或easy_install总是出错。如can n 阅读全文
posted @ 2017-04-30 17:23 clnchanpin 阅读(1218) 评论(0) 推荐(0)
摘要: 字符串匹配问题,给定两个字符串。求字符串2。在字符串1中的最先匹配结果。字符串2中能够存在'*'符号,且该符号能够代表随意字符,即字符串2中存在通配符。 e.g. 输入:abcdefghabef, a*f 输出:abcdef #include <iostream> #include <string> 阅读全文
posted @ 2017-04-30 16:48 clnchanpin 阅读(1075) 评论(0) 推荐(0)
摘要: 情况是这种: 我有一个UINavigationController,设置为self.window的root视图, 然后有一个UIVIewController是UINavigtionController的根视图. 然后在UIViewController中增加一个ScrollView 在ScrollVi 阅读全文
posted @ 2017-04-30 16:16 clnchanpin 阅读(374) 评论(0) 推荐(0)
摘要: 让Qt Creator支持Windows Phone 8开发 近期QtCreator3.2出了。修复了一些Bug。比上一个版本号3.1.2要好了一些。因为在上一个版本号(Qt for WinRT自带的)对于打包方面有一些问题效果不好,于是今天我下载这个IDE过来试一试。一開始想设定Windows P 阅读全文
posted @ 2017-04-30 15:38 clnchanpin 阅读(179) 评论(0) 推荐(0)
摘要: 在SERVER2008上注冊自己写的directshow filter 的dll或者ax文件的时候总是提示 [Window Title] RegSvr32 [Content] 模块“.\ball.dll”载入失败。 请确保该二进制存储在指定的路径中,或者调试它以检查该二进制或相关的 .DLL 文件是 阅读全文
posted @ 2017-04-30 15:36 clnchanpin 阅读(253) 评论(0) 推荐(0)
上一页 1 ··· 270 271 272 273 274 275 276 277 278 ··· 292 下一页