上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 32 下一页
摘要: Time limit 8000 msMemory limit 65536 kB Yuanfang is puzzled with the question below: T... 阅读全文
posted @ 2018-06-01 15:56 Assassin_poi君 阅读(184) 评论(0) 推荐(0) 编辑
摘要: A lot of battleships of evil are arranged in a line before the battle. Our commander decides to use our secret weapon to eliminate the... 阅读全文
posted @ 2018-05-29 19:53 Assassin_poi君 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 现在有n堆果子,第i堆有ai个果子。现在要把这些果子合并成一堆,每次合并的代价是两堆果子的总果子数。求合并所有果子的最小代价。Input第一行包含一个整数T(T#include using namespace std;struct cmp{ bool operato... 阅读全文
posted @ 2018-05-29 17:14 Assassin_poi君 阅读(133) 评论(0) 推荐(0) 编辑
摘要: Alice is so popular that she can receive many flowers everyday. She has N vases numbered from 0 to N-1. When she receive some flowers, she will try to 阅读全文
posted @ 2018-05-29 16:44 Assassin_poi君 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Alice is so popular that she can receive many flowers everyday. She has N vases numbered from 0 to N-1. When she receive some flowers,... 阅读全文
posted @ 2018-05-29 16:41 Assassin_poi君 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 头文件:#include <iostream> 参数:和sort一样。两个参数——开始地址和结束地址(左闭右开)。 返回值:去重之后的尾地址!!! 作用:unique的作用是“去掉”容器中相邻元素的重复元素。 解析:unique实质上是一个伪去除,它并不是真正把重复的元素删除,而是用不重复的元素把重 阅读全文
posted @ 2018-05-28 19:13 Assassin_poi君 阅读(1737) 评论(0) 推荐(2) 编辑
摘要: The citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing their electoral p... 阅读全文
posted @ 2018-05-28 18:54 Assassin_poi君 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 头文件:#include 参数:和sort一样。两个参数——开始地址和结束地址(左闭右开)。返回值:去重之后的尾地址!!!作用:unique的作用是“去掉”容器中相邻元素的重复元素。解析:unique实质上是一个伪去除,它并不是真正把重复的元素删除,而是用不重复的元素... 阅读全文
posted @ 2018-05-28 15:30 Assassin_poi君 阅读(178) 评论(0) 推荐(0) 编辑
摘要: Jam like to solve the problem which on the 3D-axis,given N(1=xj,yi>=yj,zi>=zj,the bigger one level add 1.Ask for the each level of the... 阅读全文
posted @ 2018-05-23 18:56 Assassin_poi君 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 放在头文件前面#pragma comment(linker,"/STACK:1024000000,1024000000") 阅读全文
posted @ 2018-05-23 17:01 Assassin_poi君 阅读(646) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 32 下一页