码迷,mamicode.com
首页 >  
搜索关键字:writing    ( 842个结果
GitBook
About GitBookGitBook was created in the middle of 2014 with the vision of creating a modern and simple solution to digital writing and publishing.We a...
分类:其他好文   时间:2015-06-03 11:32:15    阅读次数:220
!CodeForces 543A Writing Code --DP--(三维dp,滚动数组)
题意:n个程序员一起写m行代码,第i个程序员每写一行有a[i]个bug,求总bug不超过b的分配方案有多少种 分析:这题很像完全背包,不过求的不是最大/最小bug数,求的是bug数小于上限的分配方案。所以这题要用三维dp dp[i][j][k]表示前i个个程序员总共写了j行代码产生了k个bug时的plan数,这题有两种转移:1)第i个程序员再写一行;2)换第i+1号程序员写 所以方程:dp[...
分类:编程语言   时间:2015-06-02 17:56:29    阅读次数:237
Nunit-Writing Tests
Nunit 测试可以被任意支持attributes的.net语言使用Attributes被用于去标识测试类和测试方法,然后通过不同的方式修改他们的行为Assertions针对一个或多个约束,测试一个实际值,然后断定为一个成功或失败的测试结果TestContext写测试代码的时候,有时候需要测试上下文...
分类:其他好文   时间:2015-06-02 00:08:29    阅读次数:246
翻译《Writing Idiomatic Python》(五):类、上下文管理器、生成器
原书参考:http://www.jeffknupp.com/blog/2012/10/04/writing-idiomatic-python/上一篇:翻译《Writing Idiomatic Python》(四):字典、集合、元组下一篇:TO BE UPDATED..2.7 类2.7.1 用isin...
分类:编程语言   时间:2015-05-31 19:58:16    阅读次数:209
CodeForces 543A - Writing Code DP 完全背包
有n个程序,这n个程序运作产生m行代码,但是每个程序产生的BUG总和不能超过b,给出每个程序产生的代码,每行会产生ai个BUG,问在总BUG不超过b的情况下,我们有几种选择方法思路:看懂了题意之后就是一个完全背包题了定义dp[ i ][ j ][ k ] 表示前 i 个程序员,已经写了 j 行代码,...
分类:其他好文   时间:2015-05-31 16:37:48    阅读次数:103
兔子--Android java.lang.RuntimeException:Parcelable encountered IOException writing serializable objec
Activity之间传递数据时,为了方便,将很多数据封装成对象,然后将整个对象传过去。传对象有2中情况, 一种是实现Parcelable接口的 一种是实现Serializable接口的 用bundle.putSerializable(key ,object)产地参数或者用intent.putExtra(key object)传递参数。 但是使用时候,出现了异常 1.java.io.Not...
分类:移动开发   时间:2015-05-31 09:29:19    阅读次数:274
Read Code
Read CodeKarianne BergWE PROGRAMMERS ARE WEiRD CREATURES. We love writing code. But when it comes to reading it, we usually shy away. After all, writing code is so much more fun, and reading code is ha...
分类:其他好文   时间:2015-05-30 09:20:21    阅读次数:161
[LintCode] Binary Tree Serialization
Design an algorithm and write code to serialize and deserialize a binary tree. Writing the tree to a file is called 'serialization' and reading back f...
分类:其他好文   时间:2015-05-25 20:08:17    阅读次数:358
程序员必读书
前言Reading makes a full man; conference a ready man; and writing an exact man.Francis Bacon优秀的程序员应该具备两方面能力:良好的程序设计能力:掌握常用的数据结构和算法(例如链表,栈,堆,队列,排序和散列);理解...
分类:其他好文   时间:2015-05-24 00:06:26    阅读次数:134
My Emacs Writing Setup
My Emacs Writing SetupTable of Contents1. About this Document1.1. Related Materials1.2. Change History2. License3. Why Emacs?4. Setup5. Structuring a ...
分类:系统相关   时间:2015-05-20 22:00:49    阅读次数:140
842条   上一页 1 ... 63 64 65 66 67 ... 85 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!