Your little brother has just learnt to write one, two and three, in English. He has written a lot of those words in a paper, your task is to recognize...
分类:
其他好文 时间:
2014-07-19 09:31:41
阅读次数:
238
最近一直在做自动部署工具,主要利用到了Msbuild的自定义Task,通过Task我们可以自定义编译、部署过程减少人工直接干预。Msbuild的详细用法,可以去园子里搜一下,有很多的基础教程,这里就不赘述了,还是集中说一下增量发布的问题。 增量主要涉及到三部分内容,程序、配置和静态文件(例如C...
分类:
其他好文 时间:
2014-07-18 22:11:49
阅读次数:
1031
In a serious attempt to downsize (reduce) the dole queue, The New National Green Labour Rhinoceros Party has decided on the following strategy. Every ...
分类:
其他好文 时间:
2014-07-18 20:15:42
阅读次数:
234
In an attempt to remove duplicate elements from list, I go to the lengths to take advantage of methods in the java api. After investiagting the document of java api, the result is so satisfying that...
分类:
编程语言 时间:
2014-07-18 14:02:00
阅读次数:
282
在Android开发过程中,有时候会遇到这样的情况,在一个线程中,执行A操作,B操作需要等A操作结束后才进行,因此需要wait,在java中可以如下代码实现
Handler mBlueHandler = new Handler(Looper.getMainLooper());
Task task = new Task();
mBlueHandler...
分类:
移动开发 时间:
2014-07-18 13:34:17
阅读次数:
323
Description
Your task is to read a picture of a chessboard position and print it in the chess notation.
Input
The input consists of an ASCII-art picture of a chessboard with chess pieces on positio...
分类:
其他好文 时间:
2014-07-18 11:03:28
阅读次数:
305
官网:http://luvit.io/Luvit is an attempt to do something crazy by taking node.js' awesome architecture and dependencies and seeing how it fits in the Lu...
分类:
其他好文 时间:
2014-07-18 10:03:40
阅读次数:
317
E - Easy TaskDescriptionCalculating the derivation of a polynomial is an easy task. Given a function f(x) , we use (f(x))' to denote its derivation. W...
分类:
其他好文 时间:
2014-07-18 00:15:29
阅读次数:
262
firefly-gevent 是firefly的gevent版本。相比现在的firefly版本使用的twisted,gevent更加的精简。gevent就是一个基于coroutine的python网络开发框架。协程是一种并发模型,但不同于thread和callback,它的所有task都是可以在一个...
分类:
其他好文 时间:
2014-07-17 23:35:56
阅读次数:
358
点击打开链接
题意:某个工厂有M台机器,需要完成N项任务。给出每项任务的完成时间PI,开始时间SI,结束时间EI;现在问你能否在刚好完成(一次);
解析:以时间为单元构图,即将完成某一任务 I ,所需要时间PI,拆分成PI个单元1.然后设置源点s( 0 )和终点t( n + maxday + 1 ).那么从源点到完成第i个任务则其权值为完成当前任务所需要的时间PI。然后从当前任务 i 与其完成...
分类:
其他好文 时间:
2014-07-17 19:11:03
阅读次数:
273