码迷,mamicode.com
首页 >  
搜索关键字:shell time expr wait    ( 86807个结果)
使用shell+awk完成Hive查询结果格式化输出
好久不写,一方面是工作原因,有些东西没发直接发,另外的也是习惯给丢了,内因所致。今天是个好日子,走起!btw,实际上这种格式化输出应该不只限于某一种需求,差不多是通用的。需求:--基本的:当前Hive查询结果存在数据与表头无法对其的情况,不便于监控人员直接查看,或者导出到excel中,需要提供一个脚...
分类:其他好文   时间:2014-05-21 23:00:39    阅读次数:527
LeetCode: First Missing Positive [040]
【题目】 Given an unsorted integer array, find the first missing positive integer. For example, Given [1,2,0] return 3, and [3,4,-1,1] return 2. Your algorithm should run in O(n) time and uses constant space. 【题意】 给定一个数组,找出第一个缺失的正数。时间复杂度O(n) ...
分类:其他好文   时间:2014-05-21 17:13:07    阅读次数:219
poj 1836 Alignment
Alignment Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 12571   Accepted: 4021 Description In the army, a platoon is composed by n soldiers. During the m...
分类:其他好文   时间:2014-05-21 11:23:16    阅读次数:227
bzoj 2506 calc 题解
【原题】 2506: calc Time Limit: 10 Sec  Memory Limit: 256 MB Submit: 228  Solved: 112 Description            给一个长度为n的非负整数序列A1,A2,…,An。现有m个询问,每次询问给出l,r,p,k,问满足l Input          第一行两个正整...
分类:其他好文   时间:2014-05-21 10:38:18    阅读次数:267
Lock-free vs. wait-free concurrency
There are two types of non-blocking thread synchronization algorithms - lock-free, and wait-free. Their meaning is often confused. In lock-free systems, while any particular computation may be block...
分类:其他好文   时间:2014-05-21 10:27:20    阅读次数:410
POJ 2677(双调旅行商问题<bictonicTSP>
Tour Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 3470 Accepted: 1545 Description John Doe, a skilled pilot, enjoys traveling. While on vacation, he rents a...
分类:其他好文   时间:2014-05-21 08:24:18    阅读次数:354
poj 1837 Balance
Balance Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 10065   Accepted: 6231 Description Gigel has a strange "balance" and he wants to poise it. Actually...
分类:其他好文   时间:2014-05-21 07:23:20    阅读次数:312
POJ 3977Subset(枚举+二分)
Subset Time Limit: 30000MS   Memory Limit: 65536K Total Submissions: 1562   Accepted: 261 Description Given a list of N integers with absolute values no larger than 1015,...
分类:其他好文   时间:2014-05-21 07:16:37    阅读次数:409
Windows 资源计数器
对象 计数器 描述 度量值 System %Total Processor Time 系统上所有处理器都忙于执行非空闲线程的时间的平均百分比,体现整体的处理器利用率。例如在多处理器系统上,当所有处理器始终处于忙碌状态,则此值为100%;当所有处理器中的1/4处于100%忙碌状态,则此值为25% 该值若持续高于80%~...
分类:Windows程序   时间:2014-05-21 07:08:16    阅读次数:518
poj 1159 Palindrome
Palindrome Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 50914   Accepted: 17537 Description A palindrome is a symmetrical string, that is, a string read...
分类:其他好文   时间:2014-05-21 06:50:05    阅读次数:281
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!