摘要: 1.数组推导 #include<iostream> #include<vector> #include<cstring> using namespace std; int n; int maxs = 0; int mins = 0; int main(){ cin>>n; vector<int> B 阅读全文
posted @ 2021-11-28 22:29 0x3fffffff 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 1.灰度直方图 样例输入 4 4 16 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 样例输出 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 样例输入 7 11 8 0 7 0 0 0 7 0 0 7 7 0 7 0 7 0 7 0 7 0 7 0 7 阅读全文
posted @ 2021-11-28 11:08 0x3fffffff 阅读(28) 评论(0) 推荐(0) 编辑