![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ACM__矩阵
文章平均质量分 79
wust_zwl
学不死,就往死里学。
展开
-
CodeForces - 271B Prime Matrix
You've got an n × m matrix. The matrix consists of integers. In one move, you can apply a single transformation to the matrix: choose an arbitrary element of the matrix and increase it by 1. Each element can be increased an arbitrary number of times. You原创 2017-07-13 19:31:38 · 360 阅读 · 0 评论 -
POJ 1050 To the Max(最大字矩阵)【模板】
Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater located within the whole array. The sum of a rectangle is the sum of all the elements in that rectangle. In this problem the原创 2017-08-07 20:12:06 · 218 阅读 · 0 评论 -
HDU 5067 Harry And Dig Machine(动态规划+位运算)【双调欧几里得类模板】
As we all know, Harry Porter learns magic at Hogwarts School. However, learning magical knowledge alone is insufficient to become a great magician. Sometimes, Harry also has to gain knowledge from other certain subjects, such as language, mathematics, Engl原创 2017-07-17 15:14:49 · 364 阅读 · 0 评论 -
UVA 1629 Cake slicing(四维DP)【分割格子类模板】
A rectangular cake with a grid of m*n unit squares on its top needs to be sliced into pieces. Several cherries are scattered on the top of the cake with at most one cherry on a unit square. The slicing should follow the rules below: 1. each piece is rect原创 2017-07-17 09:57:06 · 505 阅读 · 0 评论