Skip to content

Instantly share code, notes, and snippets.

View lychees's full-sized avatar
🌴
People, Fund, Strategy ...

minakokojima lychees

🌴
People, Fund, Strategy ...
View GitHub Profile
@lychees
lychees / gist:5258781
Created March 27, 2013 22:39
。。。哎呀尼玛。。我 TM 模数类里就一个 int 域。。。开到递归里居然就爆栈了。。有多不科学啊。。。) http://acm.hdu.edu.cn/showproblem.php?pid=4507
/** Micro Mezz o Macro Flation -- Overheated Economy ., Last Update: Mar. 3th 2013 **/ //{
/** Header .. **/ //{
#define LOCAL
#include <functional>
#include <algorithm>
#include <iostream>
#include <fstream>
#include <sstream>
/** Micro Mezz o Macro Flation -- Overheated Economy ., Last Update: Mar. 3th 2013 **/ //{
/** Header .. **/ //{
#define LOCAL
#include <functional>
#include <algorithm>
#include <iostream>
#include <fstream>
#include <sstream>
/** Micro Mezz Macro Flation -- Overheated Economy ., Last Update: Mar. 3th 2013 **/ //{
/** Header .. **/ //{
#define LOCAL
#include <functional>
#include <algorithm>
#include <iostream>
#include <fstream>
#include <sstream>
/** Micro Mezzo Macro Flation -- Overheated Economy ., Last Update: Jan. 28th 2013 **/ //{
/** Header .. **/ //{
#define LOCAL
#include <functional>
#include <algorithm>
#include <iostream>
#include <fstream>
#include <sstream>
@lychees
lychees / gist:5594878
Created May 16, 2013 20:33
。。线段树同时解决两问。。
/** Micro Mezzo Macro Flation -- Overheated Economy ., Last Update: Jan. 28th 2013 **/ //{
/** Header .. **/ //{
#define LOCAL
#include <functional>
#include <algorithm>
#include <iostream>
#include <fstream>
#include <sstream>
@lychees
lychees / gist:5690411
Created June 1, 2013 13:37
by yejinru
/*
其实这题是我们通化区域邀请赛的C题提取出的一个子问题,这次把他当做一个比较简单的题目来出。
分析:
a[i]>=k;
a[i+1]>=k-1;
a[i+k-2]>=2;
a[i+k-1]>=1;
@lychees
lychees / gist:5718019
Created June 5, 2013 23:05
GCJ 2013 2 Problem A.
/** Micro Mezz Macro Flation -- Overheated Economy ., Last Update: Mar. 3th 2013 **/ //{
/** Header .. **/ //{
#define LOCAL
#include <functional>
#include <algorithm>
#include <iostream>
#include <fstream>
#include <sstream>
/** Micro Mezz Macro Flation -- Overheated Economy ., Last Update: Mar. 3th 2013 **/ //{
/** Header .. **/ //{
#define LOCAL
#include <functional>
#include <algorithm>
#include <iostream>
#include <fstream>
#include <sstream>
@lychees
lychees / gist:5815413
Last active December 18, 2015 16:59
GCJ 2013 R3 B
/** Micro Mezz Macro Flation -- Overheated Economy ., Last Update: Jun. 20th 2013 **/ //{
/** Header .. **/ //{
#define LOCAL
//#include "testlib.h"
#include <functional>
#include <algorithm>
#include <iostream>
#include <fstream>
#include <sstream>
@lychees
lychees / gist:5816430
Last active December 18, 2015 17:09
GCJ R3 Problem B. Large
/** Micro Mezz Macro Flation -- Overheated Economy ., Last Update: Jun. 20th 2013 **/ //{
/** Header .. **/ //{
#define LOCAL
//#include "testlib.h"
#include <functional>
#include <algorithm>
#include <iostream>
#include <fstream>
#include <sstream>