原创 Ordered Fractions 運行超時啊~
#include<fstream> #include<iostream> #include<string> #include<math.h> using namespace std; int myitoa(int data, string
原创 money system
題目網址:http://wenku.baidu.com/view/816dfaf29e31433239689324.html 參考網址:http://blog.sina.com.cn/s/blog_61576de10100sizc.htm
原创 Friday the 13th
#include<fstream> using namespace std; int month[12]={31,28,31,30,31,30,31,31,30,31,30,31}; bool isleep(int year) { if
原创 mahout在hadoop下安裝與測試過程
1.下載mahout-0.5 網址:http://mirror.bjtu.edu.cn/apache/mahout/0.5/ 2.將壓縮文件解壓到/home/hadoop/tools/ 3.在/etc/profile和~/.bashrc中
原创 耶魯大學心態:送給正在奮鬥的人
■ 耶魯大學心態 1、要自信,絕對自信,無條件自信,時刻自信,即使在做錯的時候。 2、寂寞空虛無聊的時候看點雜誌,聽聽音樂,沒事給自己找事幹,可以無益,但不能有害。 3、不要想太多,尤其是負面的想法,定時清除消極思想。
原创 Runaround Numbers
#include <stdlib.h> #include<fstream> using namespace std; char *itoa(int num, char *str, int radix) { //0的情況
原创 Hadoop API 使用介紹
API使用介紹 百度文庫
原创 Subset Sums,後附深搜算法,當然超時
#include<fstream> using namespace std; int main() { int sum,n,i,j; ifstream fin ("subset.in"); ofstream fout ("s
原创 milking cows
#include<fstream> using namespace std; int main() { int i,j,N,farms[5000][2],start,end,longest_man,longest_no_man; if
原创 broken necklace
#include<fstream> #include<iostream> #include<malloc.h> #define null NULL using namespace std; typedef struct list {
原创 Zero Sum(DFS算法,後附錯誤解法,但不知道何處出錯)
參考網址:http://www.cnblogs.com/void/articles/2336263.html 題目網址:http://wenku.baidu.com/view/816dfaf29e31433239689324.html #
原创 hadoop 文件操作 接口調用
文件操作實例 點擊打開鏈接 點擊打開鏈接 點擊打開鏈接 點擊打開鏈接
原创 Sorting A Three-Valued Sequence
#include<fstream> #include<iostream> using namespace std; int main() { ifstream fin ("sort3.in"); ofstream fout ("sor
原创 Checker Challenge
#include "stdafx.h" #include<iostream> #include<fstream> using namespace std; const int MAX=13; int N;
原创 WordCount 實例分析
WordCount運行詳解(2) Hadoop WordCount解讀 對hadoop第一個小程序WordCount的簡單解釋.