04 2011 档案
摘要:behind this polarized controversy,too often,luck false absolutes that prevent good public policy decisions.在这个引起两种意见完全对立的争议的背后,往往潜伏着妨碍做出好的公共决策
阅读全文
摘要:尽量用向量 数组不好用#include<iostream>#include<string>#include <algorithm>#include<vector>using namespace std;class SeqString{int seq;string str;public :SeqString(string &str1){str=str1;}SeqString(){}int getMeasure(){int count=0;for(int i=0;i<str.length();i++){for(int j=i;j<
阅读全文
摘要:初期:一.基本算法: (1)枚举. (poj1753,poj2965) (2)贪心(poj1328,poj2109,poj2586) (3)递归和分治法. (4)递推. (5)构造法.(poj3295) (6)模拟法.(poj1068,poj2632,poj1573,poj2993,poj2996)二.图算法: (1)图的深度优先遍历和广度优先遍历. (2)最短路径算法(dijkstra,bellman-ford,floyd,heap+dijkstra) (poj1860,poj3259,poj1062,poj2253,poj1125,poj2240) (3)最小生成树算法(prim,krus
阅读全文