- 博客(2)
- 收藏
- 关注
原创 ccf 202006-2 稀疏向量 python满分代码
ccf 202006-2 稀疏向量 python满分代码参考链接:https://blog.csdn.net/weixin_41480156/article/details/107701647 import sysdef input2num(): return map(int, input().split())dim, cap_a, cap_b = input2num()a = {}tol = 0for line in sys.stdin.readlines():
2020-09-06 11:15:51
492
转载 python 二维数组切片X[: , m:n]
python 二维数组切片X[: , m:n]记录一下自己学习的内容,方便以后查阅~X[:, 0]:取二维数组中所有行的第0个数据,即第1列数据X[n, :]:取二维数组中第n行的所有数据,即第n行数据X[:, m:n]:取二维数组中第m到n-1列数据参考博客:https://blog.csdn.net/gaofengyan/article/details/90697743...
2020-05-25 17:08:42
11298
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人