![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
矩阵
墨蘅
这个作者很懒,什么都没留下…
展开
-
2020多校第六场C.Combination of Physics and Maths[矩阵][最大子矩阵]
最大的结果就是只有一列的情况,找一列情况中最大的就可以了。 #include <bits/stdc++.h> const int N = 205; int T, n, m, a[N][N]; int main() { for (scanf("%d", &T); T; T--) { scanf("%d%d", &n, &m); for (int i = 0; i < n; i++) { ...原创 2020-08-01 13:50:57 · 107 阅读 · 0 评论 -
Snail in Matrix[矩阵的螺旋输出][顺时针螺旋输出]
Given a two-dimensional matrix, your program is to print the matrix elements in a "snail-like" fashion as follows: print elements in the first row from left to right on an output line print eleme...原创 2020-04-23 22:15:53 · 166 阅读 · 0 评论