码迷,mamicode.com
首页 >  
搜索关键字:head tail ‘tail -f’ ‘tail -f’    ( 36072个结果
diameter
HOSTNAME /etc/hostsDNS: /etc/resolv.conf SCROLL:tail -f /var/log/messagesCTRL+C:terminal-mappedKey-cua setting.
分类:其他好文   时间:2014-06-10 13:02:56    阅读次数:205
Plus One
题目 Given a non-negative number represented as an array of digits, plus one to the number. The digits are stored such that the most significant digit is at the head of the list. 方法 ...
分类:其他好文   时间:2014-06-10 06:12:06    阅读次数:285
SCOI2010 and SXOI2014 股票交易(DP)
明显的单调队列……但下面的程序一直有bug附上题解:http://blog.csdn.net/njlcazl/article/details/8611042附上我的代码: 1 var head,tail,i,n,maxp,w,t,ans,j:longint; 2 as,bs,ap,bp,q,...
分类:其他好文   时间:2014-06-09 22:58:39    阅读次数:313
求单链表的中间节点,用快慢指针
Node* findMid(Node* &head){ if(head == NULL||head->next == NULL) return head; Node* p = head; Node* q = head; while(q->next->ne...
分类:其他好文   时间:2014-06-09 17:55:34    阅读次数:204
逆序单链表
#include using namespace std;struct Node{ Node *next; int elem;};void creatList(Node* &head){ head = new Node; int elem; cin>>elem; ...
分类:其他好文   时间:2014-06-09 17:50:43    阅读次数:219
不带头结点的单链表递归删除元素为X的结点
#include using namespace std;struct Node{ Node *next; int elem;};void creatList(Node* &head){ head = new Node; int elem; cin>>elem; ...
分类:其他好文   时间:2014-06-09 16:07:55    阅读次数:229
xhtml
当单个文件需要特别样式时,就可以使用内部样式表。可以在 head 部分通过
分类:Web程序   时间:2014-06-09 13:58:23    阅读次数:261
HNOI2008玩具装箱 (斜率优化)
总算A了,心情好激动……如果会了一类斜率优化,基本上这类题就成了套模版了……只是k函数不同 1 var n,l,x,tail,head,m:int64; 2 i,j:longint; 3 dp,q,s:array[0..100000] of int64; 4 function k(x...
分类:其他好文   时间:2014-06-08 21:53:27    阅读次数:247
【C++实现】HeadFirst设计模式之策略模式
Head First设计模式中介绍策略模式时以Duck类作为例子,其中用flyBehavior和quackBehavior两个接口引用变量代表鸭子飞行和鸭子叫这两种行为,通过改变flyBehavior和quackBehavior来满足不同的Duck子类的不同行为,这样带来的好处就是可以在运行时改变Duck子类的行为。下面是我用C++改写的代码。...
分类:编程语言   时间:2014-06-08 09:13:14    阅读次数:243
html网页编码问题
之前碰到过一些html编码乱码问题,都理解的模模糊糊,问了别人解释的也是模模糊糊。最近要做前端这个问题研究了下只需要两句话就能很清楚的解释了(之前问的那些人是不是自己都没理解很郁闷.)   这段写在head中告诉浏览器用那种编码方式,浏览器就会自动选择对应的编码方式显示网页。 然后在保存这个html文件时选择编码方式(vs中文件---〉另存为,然后可以选择编码方式)必须为charset指定的编...
分类:Web程序   时间:2014-06-08 03:56:59    阅读次数:264
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!