传送门 题意:略 论文 <SPFA算法的优化及应用> http://www.cnblogs.com/lazycal/p/bzoj-2595.html 本题的核心就是求斯坦纳树: Steiner Tree: Given an undirected graph with non-negative edge weights and a subset of vertices, usually referred to as terminals, the Steiner tree problem in g…
启动mongo服务 sodo mongo 显示数据库(显示数据库名称和大小,单位GB) > show dbs admin (empty) local 0.078GB test 0.078GB testdb 0.078GB 选择数据库,以test数据库为例 use testdb 创建集合 >db.createCollection('loc') 显示集合 show collections mongo支持的数据类型(15种,带的5种的为BSON格式) String.Integer.Boolean.D…