码迷,mamicode.com
首页 >  
搜索关键字:io    ( 172858个结果
HDU 1711 Number Sequence
经典kmp 1 #include 2 #include 3 using namespace std; 4 5 int n,m; 6 int a[1000010],b[10010],next[10010]; 7 8 void getnext (int *s,int *next)...
分类:其他好文   时间:2014-07-22 22:52:33    阅读次数:182
Linux pipe函数
1. 函数说明pipe(建立管道):1) 头文件 #include2) 定义函数: int pipe(int filedes[2]);3) 函数说明: pipe()会建立管道,并将文件描写叙述词由參数filedes数组返回。 filedes[0]为管道里的读取端 filedes[1]则为管道的写入端...
分类:系统相关   时间:2014-07-22 22:52:33    阅读次数:324
【leetcode】First Missing Positive
Given an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru...
分类:其他好文   时间:2014-07-22 22:52:33    阅读次数:166
sublime Text3配置及快捷键、插件推荐总结
一、基础1.重要文档:sublime Text3官方文档中文版:http://feliving.github.io/Sublime-Text-3-Documentation/sublime Text插件下载站点:https://sublime.wbond.net/Sublime Text insta...
分类:其他好文   时间:2014-07-22 22:52:33    阅读次数:6141
HDU 1358 Period
经典kmpps:poj 2046Power Strings 是这题的简化版 ←_←太水就不贴代码了。。。#include #include #include using namespace std;const int maxn=1000010;char s[maxn];int next[maxn];...
分类:其他好文   时间:2014-07-22 22:52:16    阅读次数:209
如何导出远程oracle数据库中的表结构
从远程oracle数据库上导出指定表的表结构语句有两种方法:方法一:通过sql语句获得1,makesurethatyoucanconnecttheremotedatabase.2,enterintothesqlplus,andexecutethecommand:selectdbms_metadata...
分类:数据库   时间:2014-07-22 22:52:15    阅读次数:186
IE浏览器解决margin:0 auto;不居中办法!
一般情况下需要将div居中显示时,使用Css样式:margin:0 auto;或者margin:0 auto 1px;即可,但有时使用margin:0 auto后在firef、Chrome等浏览器里能居中,而在IE678里不居中的现象。如下代码:margin: 0 auto 内容居中显示解决方法一可...
分类:其他好文   时间:2014-07-22 22:52:15    阅读次数:198
dstat mysql5-io 模块使用
[root@shylock dstat]# dstat --listinternal: aio, cpu, cpu24, disk, disk24, disk24old, epoch, fs, int, int24, io, ipc, load, lock, mem, net, pag...
分类:数据库   时间:2014-07-22 22:52:14    阅读次数:552
计算智能 Computational Intelligence,CI
计算智能(Computational Intelligence,CI)是借助自然界(生物界)规律的启示,根据其规律,设计出求解问题的算法。智能计算只是一种经验化的计算机思考性程序。 计算智能算法主要包括神经计算、模糊计算和进化计算三大部分。典型的计算智能算法包括神经计算中的人工神经网络算法,模糊计....
分类:其他好文   时间:2014-07-22 22:52:13    阅读次数:224
poj1971Parallelogram Counting
链接越来越感觉到了数学的重要性!。。这题本来用以斜率和长度为key值进行hash不过感觉很麻烦还TLE了。。最后知道中点一样的话就可以组成平行四边形,初中数学就可以了。。 1 #include 2 #include 3 #include 4 #include 5 #include 6 #inclu....
分类:其他好文   时间:2014-07-22 22:52:13    阅读次数:291
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!