码迷,mamicode.com
首页 >  
搜索关键字:should    ( 4948个结果
Codeforces Helpful Maths
Xenia the beginner mathematician is a third year student at elementary school. She is now learning the addition operation. The teacher has written down the sum of multiple numbers. Pupils should ca...
分类:其他好文   时间:2014-07-22 23:05:53    阅读次数:382
HDU 1102 && POJ 2421 Constructing Roads (经典MST~Prim)
链接:http://poj.org/problem?id=2421  或   http://acm.hdu.edu.cn/showproblem.php?pid=1102 Problem Description There are N villages, which are numbered from 1 to N, and you should build some roads ...
分类:其他好文   时间:2014-05-10 09:34:09    阅读次数:389
Effective Java 71 Use lazy initialization judiciously
You should initialize most fields normally, not lazily. If you must initialize a field lazily in order to achieve your performance goals, or to break ...
分类:编程语言   时间:2014-05-09 18:32:56    阅读次数:497
LeetCode——LRU Cache
LRU Cache   Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. get(key) - Get the value (will always be posi...
分类:其他好文   时间:2014-05-07 07:16:21    阅读次数:316
An Unfair Game-[ACdream1035]
Problem DescriptionThere are n people and n target, everyone should get one target, no two people get the same target, the last one who get the target...
分类:其他好文   时间:2014-05-06 09:00:51    阅读次数:354
Lowest Bit------HDOJ杭电1196(想法很重要)
Problem Description Given an positive integer A (1 For example, given A = 26, we can write A in binary form as 11010, so the lowest bit of A is 10, so the output should be 2. Another example...
分类:其他好文   时间:2014-05-05 13:22:39    阅读次数:394
Effective Java 70 Document thread safety
Every class should clearly document its thread safety properties with a carefully worded prose description or a thread safety annotation. The synchron...
分类:编程语言   时间:2014-05-05 12:00:18    阅读次数:437
Why Every Professional Should Consider Blogging
转自http://www.pixelstech.net/article/1327829407-Why-Every-Professional-Should-Consider-Bloggingften argue that professionals should share their knowled...
分类:其他好文   时间:2014-05-01 21:47:22    阅读次数:509
Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2014-05-01 08:35:40    阅读次数:443
[leetcode]Swap Nodes in Pairs @ Python
原题地址:http://oj.leetcode.com/problems/swap-nodes-in-pairs/题意:将链表中的节点两两交换。Given1->2->3->4, you should return the list as2->1->4->3.解题思路:这题主要涉及到链表的操作,没什么...
分类:编程语言   时间:2014-05-01 06:44:21    阅读次数:339
4948条   上一页 1 ... 492 493 494 495 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!