
Python
卷曲的葡萄藤
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
jupyter notebook中美观显示矩阵
from IPython.display import display,Latex,Math%matplotlib inlinefrom IPython.core.interactiveshell import InteractiveShellsh = InteractiveShell.instance()def number_to_str(n,cut=5): ns=str(...原创 2019-06-14 15:49:48 · 4037 阅读 · 2 评论 -
剑指offer刷题笔记(Java版)---- 构建乘积数组
本題首先需要清楚的理解題目的意思,然後在去想法解題。题目描述给定一个数组A[0,1,...,n-1],请构建一个数组B[0,1,...,n-1],其中B中的元素B[i]=A[0]*A[1]*...*A[i-1]*A[i+1]*...*A[n-1]。不能使用除法。有些題目看着不是很清晰的話,可以適當的去畫圖觀察一下,比如本題數組就取A[1,2,3,4,5]這些元素。那麼B[i]與A[...原创 2019-08-08 00:24:12 · 229 阅读 · 0 评论