摘要: C. String Reconstructiontime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIvan had... 阅读全文
posted @ 2017-08-06 12:21 Bryce1010 阅读(94) 评论(0) 推荐(0)
摘要: C. String Reconstructiontime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIvan had... 阅读全文
posted @ 2017-08-06 12:21 Bryce1010 阅读(90) 评论(0) 推荐(0)
摘要: vector中pair的排序方法首先定义一个vectorvector >vec;调用排序函数sortsort(vec.begin(),vec.end());//默认排序是从小到大,先比较first,在first相等的情况下比较second下面介绍重定义排序bool j... 阅读全文
posted @ 2017-08-06 11:45 Bryce1010 阅读(166) 评论(0) 推荐(0)
摘要: vector中pair的排序方法首先定义一个vectorvector >vec;调用排序函数sortsort(vec.begin(),vec.end());//默认排序是从小到大,先比较first,在first相等的情况下比较second下面介绍重定义排序bool j... 阅读全文
posted @ 2017-08-06 11:45 Bryce1010 阅读(316) 评论(0) 推荐(0)