码迷,mamicode.com
首页 >  
搜索关键字:no write has been do    ( 38312个结果
poj 1258 最小生成树
链接: http://poj.org/problem?id=1258Agri-NetTime Limit:1000MSMemory Limit:10000KTotal Submissions:38326Accepted:15424DescriptionFarmer John has been ele...
分类:其他好文   时间:2014-07-09 00:11:17    阅读次数:251
【leetcode刷题笔记】Set Matrix Zeroes
Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.题解:因为题目要求原地算法,所以我们只能利用矩阵第一行和第一列存放置零信息。首先遍历第一行和第一列,看他们是否需要全部置零...
分类:其他好文   时间:2014-07-08 23:58:29    阅读次数:422
批量MD5命名文件
#coding=utf-8import osimport hashlibdef GetFileMd5(filename): if not os.path.isfile(filename): print(filename) return mymd5 = has...
分类:其他好文   时间:2014-07-08 23:52:38    阅读次数:502
JAVA File类 分析(三)
前面两篇与大家一起研究了unix下的文件系统,本篇将和大家一起分析 文件的属性和文件夹。ok,废话不说,先来段代码#include #include #include void do_ls(char[]); void main(int ac,char *av[]){ if(ac==1) do_...
分类:编程语言   时间:2014-07-08 23:48:51    阅读次数:281
关于 ContentPropertyAttribute
ContentPropertyAttribute 是使用在类的声明上的特性,表示xmal标签内容对应的clr类中的属性,目前发现Control的子类下有这几种属性:1.Content。这个是最常见的啦。ContentControl、Page 2.Items。ItemsControl 3.Do...
分类:其他好文   时间:2014-07-08 23:29:52    阅读次数:224
ZOJ Problem Set - 3321 并查集
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3321CircleTime Limit:1 Second Memory Limit:32768 KBYour task is so easy. I will give...
分类:其他好文   时间:2014-07-08 23:04:16    阅读次数:264
Z14_07
REPORTZ14_07.CLASSclsDEFINITIONinheritingFROMobject.PUBLICSECTION.methods:create.ENDCLASS.CLASSclsIMPLEMENTATION.METHODcreate.write:/'objectiscreated....
分类:其他好文   时间:2014-07-08 00:57:04    阅读次数:170
[虚拟化/云][全栈demo] 为qemu增加一个PCI的watchdog外设(七)
目标:1. 完成最终的设备驱动,增加具体的watchdog设备操作的代码。测试代码:代码最终实现见cwd_demo.c代码只实现了read与write. 没有实现ioctl.因此,我们可以通过shell指令直接操作我们的watchdog.read函数,只读取watchdog的0x01 和0x02寄存...
分类:其他好文   时间:2014-07-08 00:52:03    阅读次数:245
2014 Super Training #9 F A Simple Tree Problem --DFS+线段树
原题: ZOJ 3686http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3686这题本来是一个比较水的线段树,结果一个mark坑了我好几个小时。。哎。太弱。先DFS这棵树,树形结构转换为线性结构,每个节点有一个第一次遍历的时间...
分类:其他好文   时间:2014-07-08 00:46:56    阅读次数:295
2014 Super Training #6 G Trim the Nails --状态压缩+BFS
原题: ZOJ 3675http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3675由m#include #include #include #include #include using namespace std;#defin...
分类:其他好文   时间:2014-07-08 00:31:26    阅读次数:272
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!