2015年3月11日
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 int n; //n本书 9 //标题、作者、关键字、出版社、出版年份与ID的映射10 map> mp... 阅读全文
posted @ 2015-03-11 23:15 Evence 阅读(231) 评论(0) 推荐(0) 编辑
摘要: #include#includechar str[30]; //输入的数字int tmp[30]; //*2后逆序的数字int cntstr[10]; //输入数字0-9的个数int tmpI=0,jin=0; //... 阅读全文
posted @ 2015-03-11 16:21 Evence 阅读(155) 评论(0) 推荐(0) 编辑
摘要: #include#includeusing namespace std;typedef long long ll; //【skill】重命名struct num{ ll zi,mu; //分子分母};ll gcd(ll a,ll b) //求最大公约数{ return ... 阅读全文
posted @ 2015-03-11 15:07 Evence 阅读(217) 评论(0) 推荐(0) 编辑
摘要: #include#include#includeusing namespace std;const int MAX=1010;int n,m,k; //城市数,高速公路数,查询次数int DELETE; //要删除的点vector ADJ[MAX]; //邻... 阅读全文
posted @ 2015-03-11 09:44 Evence 阅读(107) 评论(0) 推荐(0) 编辑