码迷,mamicode.com
首页 >  
搜索关键字:what would you like to drink    ( 38055个结果
《Code Complete》ch.11 变量名的力量
What? 如何给变量命名Why?易读(你三个月前的代码=别人的代码),易记,恰如其分整齐的命名具有美感,强迫症患者居家旅行杀人放火之必备How?以问题为导向 好名字反映的是问题(what),并非解决方案(how)。名字不应体现计算细节// goodObject studentData;int .....
分类:其他好文   时间:2014-06-16 10:13:53    阅读次数:206
linux常用命令技巧
原文地址这篇文章来源于Quroa的一个问答《What are some time-saving tips that every Linux user should know?》—— Linux用户有哪些应该知道的提高效率的技巧。我觉得挺好的,总结得比较好,把其转过来,并加了一些自己的理解。 首先,我...
分类:系统相关   时间:2014-06-16 09:36:55    阅读次数:436
【HDOJ】1892 See you~
wa了十次,原来变量名写错。二维树状数组。 1 #include 2 #include 3 4 #define MAXN 1002 5 6 int nums[MAXN][MAXN]; 7 8 void swap(int *x, int *y) { 9 int tmp;10 ...
分类:其他好文   时间:2014-06-16 08:34:51    阅读次数:216
变量&流程控制&函数
【Swift初步】1、第一个swift程序。 You don’t need to import a separate library for functionality like input/output or string handling. Code written at global s...
分类:其他好文   时间:2014-06-16 08:30:56    阅读次数:204
[leetcode]Search in Rotated Sorted Array II @ Python
原题地址:https://oj.leetcode.com/problems/search-in-rotated-sorted-array-ii/题意:Follow up for "Search in Rotated Sorted Array":What ifduplicatesare allowed...
分类:编程语言   时间:2014-06-16 08:20:54    阅读次数:307
11个实用jQuery日历插件
1.FullCalendarFullCalendar是很出名的jQuery日历插件,它支持拖拽等功能,整合了Google Calendar,而且可以通过JSON来绑定事件,设计师可以轻松地自定义日历样式,工程师则利用它提供的接口来处理用户触发事件。2.Astonishing iCal-like Ca...
分类:Web程序   时间:2014-06-16 08:16:45    阅读次数:255
Leetcode:Swap Nodes in Pairs 链表成对交换节点
Swap Nodes in Pairs:Given a linked list, swap every two adjacent nodes and return its head.For example,Given1->2->3->4, you should return the list as2...
分类:其他好文   时间:2014-06-13 17:04:27    阅读次数:180
[LeetCode OJ] Best Time to Buy and Sell Stock I
Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie...
分类:其他好文   时间:2014-06-13 15:55:47    阅读次数:273
9 tools to help you with Java Performance Tuning
9 tools to help you with Java Performance TuningJava Performance Tuning tools to help you improve your Java CodePreviously I wrote an article about 5 ...
分类:编程语言   时间:2014-06-13 15:07:34    阅读次数:458
Leetcode:Linked List Cycle 链表是否存在环
Linked List Cycle:Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?解题分析:大致思想就是设置两个指针,一个指针每次...
分类:其他好文   时间:2014-06-13 14:41:54    阅读次数:238
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!