_ 124 EMEDIUMTYPE_ Wrong medium type_ 123 ENOMEDIUM__ No medium found_ 122 EDQUOT___ Disk quota exceeded_ 121 EREMOTEIO__ Remote I/O error_ 120 EISNAM...
分类:
系统相关 时间:
2014-11-04 14:34:14
阅读次数:
400
一、hadoop有很多自带的计数器,详细看过运行log的都会看到各种数据
二、用户自定义计数器
在开发中经常需要记录错误的数据条数,就可以用计数器来解决。
1、定义:用一个枚举来定义一组计数器,枚举中的每个元素都是一个计数器
在main类中定义
enum RecordsCounter{
RIGHT_COUNTER,
WRONG_COUNTER
};
2、使用...
分类:
其他好文 时间:
2014-10-29 00:17:37
阅读次数:
330
I like to joke that I am who I am today because I did everything wrong in my 20's. I've always been fearless, and it often got me in trouble. I wasn't afraid to start
a business, borrow a bunch of m...
分类:
其他好文 时间:
2014-10-20 23:27:46
阅读次数:
577
I use to think the worst feeling was losing someone you love.But,I was wrong.The worst feeling is the moment you have lost yourself之前我一直认为,世界上最悲伤的事情就是...
分类:
其他好文 时间:
2014-10-17 09:37:04
阅读次数:
156
The 4 Java Garbage Collectors - How the Wrong Choice Dramatically Impacts PerformanceThe year is 2014 and there are two things that still remain a mys...
分类:
编程语言 时间:
2014-10-11 13:30:25
阅读次数:
390
Optimal Milking
题目:
有K个机器,C只牛。要求求出最所有牛到各个产奶机的最短距离。给出一个C+K的矩阵,表示各种标号间的距离。
而每个地方最多有M只牛。
算法分析:
二分+最短路+网络流
想法难以想到。我是看解题报告的思路。然后,自己上了手。开始wrong 了3次。后来各种该,无意的一个更改就AC了。无语勒。。。。
wrong 在了,...
分类:
其他好文 时间:
2014-10-09 19:58:23
阅读次数:
206
首先来说,,这题我wrong了好几次,代码力太弱啊。。很多细节没考虑。。题意:给定两个数 L R,1 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #inclu...
分类:
其他好文 时间:
2014-10-02 03:55:32
阅读次数:
269
前阵子在ubuntu上搭载安卓的开发环境(Eclipse+Sdk+Adt),搭载是完成了,但是却出现了该问题:aapt: error while loading shared libraries: libstdc++.so.6: wrong ELF class: ELFCLASS64该问题还导致了创...
分类:
编程语言 时间:
2014-10-01 02:40:40
阅读次数:
289
题目链接:http://poj.org/problem?id=3233思路:矩阵运算,快速幂,二分法。。 妈的 b>>=1 我写成了b>>=2 wrong了一天。 真棒 如何求a+a^2+a^3+ ..... a^n = ?用二分思想做:我们用S(n/2) = (a+a^2+a^3+...a^n/2...
分类:
其他好文 时间:
2014-09-27 20:26:50
阅读次数:
140