02 2017 档案

摘要:C. Dishonest Sellers time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Dishonest Seller 阅读全文
posted @ 2017-02-26 19:45 code_lc 阅读(244) 评论(0) 推荐(0)
摘要:B. Weird Rounding time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. Weird Rounding time 阅读全文
posted @ 2017-02-26 19:37 code_lc 阅读(470) 评论(0) 推荐(0)
摘要:A. Pupils Redistribution time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output In Berland each 阅读全文
posted @ 2017-02-26 19:27 code_lc 阅读(219) 评论(0) 推荐(0)
摘要:把每天学的东西稍微记一下...就当是巩固知识了 今天学了几个知识点: 1.求最小生成树的最大路径(假设a到b有多条路径,每条路径有多条边组成,求Min(max(路径1的所有边), max(路径2的所有边)...,max(路径N的所有边))) kruscal算法(避圈法)当a b在同一个集合时,返回最 阅读全文
posted @ 2017-02-25 23:58 code_lc 阅读(104) 评论(0) 推荐(0)
摘要:c++ 引用类型 引用符号 & 格式:数据类型 & 引用名 = 实名; 基本数据类型引用: int a = 10; int &b = a; (相当于给a取了一个别名b) 指针类型引用: int a = 10; int *p = &a; int * &q = p; (相当于给指针p取了一个别名q) 结 阅读全文
posted @ 2017-02-19 14:38 code_lc 阅读(837) 评论(0) 推荐(0)