1、前言 Elastic Utility Computing Architecture for Linking Your Programs To Useful Systems(Eucalyptus)是一种开源的软件基础结构,用来通过计算集群或工作站群实现弹性的、实用的云计算。它最初是美国加利福尼亚....
分类:
其他好文 时间:
2014-09-28 13:07:12
阅读次数:
290
一定要判断好边界条件,edge case很关键。 1 #include 2 #include 3 using namespace std; 4 5 class Solution { 6 public: 7 int maxProfit(vector &prices) { 8 ...
分类:
其他好文 时间:
2014-09-27 19:02:20
阅读次数:
202
1、前言 Elastic Utility Computing Architecture for Linking Your Programs To Useful Systems(Eucalyptus)是一种开源的软件基础结构,用来通过计算集群或工作站群实现弹性的、实用的云计算。它最初是美国加利福尼亚....
闲暇之余看了Michael Enescu - From Cloud to Fog Computing and IoT _ LinuxCon + CloudOpen North America 2014,重要内容截图如下:0、发展趋势(50 Billion + Devices Future)1、Eme...
分类:
其他好文 时间:
2014-09-25 21:49:17
阅读次数:
1277
两道lca模板题,用的是倍增法,nlogn预处理,logn查询。#include #include #include #include using namespace std;#define maxn 10100struct Edge{ int u,v,w,next;}e[100100];i...
分类:
其他好文 时间:
2014-09-25 20:24:27
阅读次数:
236
通讯技术: 1G 模拟制式 只能进行语音通话. 2G GSM, CDMA 收发短信和邮件. 2.5G GPRS, EDGE 访问wap网络数据.(图片, 壁纸, 文字信息) 3G WCDMA(联通), CDMA2000(电信), TD-SCDMA(移动) 发微博, 查看高清图片, 小电影. ...
分类:
移动开发 时间:
2014-09-24 22:05:37
阅读次数:
308
题意:给出一个迷宫,在迷宫的节点处,面向某个方向只能向给定的方向转弯。给出起点和终点输出迷宫的最短路径,这里指的是刚刚离开起点的时刻,所以即使起点和终点重合路径也非空。分析:用三个变量来表示状态,r,c,dir,分别代表所处的位置和朝向。在输入数据的同时,也要初始化has_edge[r][c][di...
分类:
其他好文 时间:
2014-09-24 05:43:35
阅读次数:
2220
这是老外的一篇很好的文章,专门写给即将开始用Python来作为科学计算工具的人群。Python for scientific computing: Where to start传送门:http://sjbyrnes.com/?page_id=67英文好的人可以看看,英文不好的。。。额。。。那就等我闲...
分类:
编程语言 时间:
2014-09-22 14:56:52
阅读次数:
238
无向图欧拉回路 欧拉通路
#include
#include
using namespace std;
struct edge
{
int v, next, b, id;
}e[210];
int vis[210];
int first[10], cnt;
int ans[210], len;
int f[10];
int find(int x)
{
if(x != f[x])
...
分类:
其他好文 时间:
2014-09-22 12:32:52
阅读次数:
234
AOE网上的关键路径
Time Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^
题目描述
一个无环的有向图称为无环图(Directed
Acyclic Graph),简称DAG图。
AOE(Activity
On Edge)网:顾名思义,用边表示活动的网,当然它也是DAG。与...
分类:
其他好文 时间:
2014-09-19 21:09:46
阅读次数:
290