Loading

摘要: A.最大下降矩阵 题目: 我们称一个矩阵是下降矩阵,当且仅当,矩阵的每一列都是严格下降的。很显然,这个要求很苛刻,大多数矩阵都无法满足。但是显然如果消去一些行,一定可以使得这个矩阵变成下降矩阵。 现在给出一个n行m列的矩阵,请你求出最少消去多少行,可以使得这个矩阵变为下降矩阵。 思路: 直接按照求最 阅读全文
posted @ 2020-11-24 02:52 dyhaohaoxuexi 阅读(382) 评论(0) 推荐(0) 编辑
摘要: A hello world 签到 #include<bits/stdc++.h> using namespace std; string s="hello world"; int main(){ for(int i=0;i<s.size();i++){ cout<<char(s[i]+1); } } 阅读全文
posted @ 2020-11-24 01:51 dyhaohaoxuexi 阅读(290) 评论(0) 推荐(0) 编辑