链接 [http://codeforces.com/contest/1060/problem/C] 题意 给你两个数列,可以构成一个矩阵C,ci,j=ai?bj 1≤x1≤x2≤n , 1≤y1≤y2≤m 还有一个x,让你求一个子矩阵,使得矩阵元素和小于等于x,面积最大 分析 贪心,思维,只需要求出 ...
分类:
其他好文 时间:
2018-12-01 16:59:36
阅读次数:
165
Longest Common Subsequence "Aizu ALDS1_10_C" For given two sequences X and Y, a sequence Z is a common subsequence of X and Y if Z is a subsequence of ...
分类:
其他好文 时间:
2018-12-01 11:12:55
阅读次数:
194
一开始以为用前缀和做,看了下数据10000,果断放弃。 思考了一下,最大和序列的第一个数必为正数(废话),关键是从头开始的子序列和也必为正数。如果加到某个地方和为负数,我还要你前面这些数何用,不如从后面开始重新选。基于上述思路就可以写出代码了。 #include <iostream> #includ ...
分类:
其他好文 时间:
2018-12-01 00:08:23
阅读次数:
115
D. Maximum Diameter Graph time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Maximum Dia ...
分类:
其他好文 时间:
2018-11-30 22:42:56
阅读次数:
368
题意: 求最长增长的子序列的长度。 思路: 利用DP存取以i作为最大点的子序列长度。 Runtime: 20 ms, faster than 35.21% of C++ online submissions for Longest Increasing Subsequence. 解法二: 讨论区里的 ...
分类:
其他好文 时间:
2018-11-29 15:04:45
阅读次数:
159
声明:BIEE版本为Oracle Business Intelligence 11.1.1.7.160719 BIEE打开报表报错如下:如果你是英文版的错误如下:"View Display ErrorExceeded configured maximum number of allowed inpu... ...
分类:
其他好文 时间:
2018-11-29 11:05:08
阅读次数:
502
Given a 2D grid, each cell is either a wall 'W', an enemy 'E' or empty '0' (the number zero), return the maximum enemies you can kill using one bomb.?... ...
分类:
其他好文 时间:
2018-11-29 10:55:31
阅读次数:
74
上一片myloder搞崩溃,为什么百度的博文都是抄袭一模一样的,哎烦! 这一片文章我们来介绍物理备份工具xtracebackup! 首先是安装可以percona官网下载安装,下载rpm包直接yum安装即可! XtraceBackup是由知名数据库软件服务企业Percona提供的一款热备工具,除了能够 ...
分类:
数据库 时间:
2018-11-28 22:13:26
阅读次数:
244
参考官方提供的安装教程:https://jenkins.io/doc/book/installing/,可以发现官方推荐使用Docker进行安装。虽然用Docker有很多好处,但也有缺点。 下面是各种安装方法: 无论怎么的安装方法,jenkins在启动时,都会在运行用户的目录下生成.jenkins文 ...
分类:
编程语言 时间:
2018-11-28 12:02:05
阅读次数:
270
problem Maximum Depth of Binary Tree 参考 1.Maximum Depth of Binary Tree; 完 ...
分类:
其他好文 时间:
2018-11-26 13:48:05
阅读次数:
197