- 博客(1)
- 资源 (2)
- 收藏
- 关注
原创 使用c++语言做概率论 涉及求方差
我用到的公式在下面列出来 本人在做概统作业时偷了一下懒,不想敲计算器,跑程序啦~~嘻嘻 分享出来供大家学习,如有错误 麻烦指出,谢谢! #include <stdio.h> #include<iostream> #include<vector> #include<cmath> #include <algorithm> us...
2019-09-04 20:19:06 968
Maximum Submatrix
Given an n*n matrix composed of 0 or 1, determine the top left corner position and the order of the maximum submatrix in which all of element are 1.
Example:
Input:
5
1 1 0 1 0
1 0 1 0 1
0 1 1 1 0
0 1 0 0 0
0 1 0 0 1
Output: position: (2,1), order: 3*1
2019-09-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人