class bldy(): def one (self): a = 5 return a # return 返回到self def two(self): b = 10 return b def sum(self, a, b): # 你给我两个参数,我就执行下面的方法 c = a + b return ...
分类:
编程语言 时间:
2020-04-25 17:36:52
阅读次数:
266
label1=['apple','orange','pear','banana'] label2=['one','two','three','four'] df=pd.DataFrame(np.arange(16).reshape(4,-1),index=label1,columns=label2) ...
分类:
其他好文 时间:
2020-04-24 01:53:43
阅读次数:
109
https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life The universe of the Game of Life is an infinite, two-dimensional orthogonal grid of square cells ...
分类:
其他好文 时间:
2020-04-23 18:55:58
阅读次数:
76
可用扫描工具尝试扫描(disearch、御剑等) 目录遍历 Method One 直接手动遍历 Method Two PHPINFO 搜索flag 要注意下ctfhub后面有个空格,要删掉 备份文件下载 网站源码 拿disearch扫一下 可以发现www.zip,访问下载 可以发现里面有三个文件 u ...
分类:
其他好文 时间:
2020-04-23 12:26:09
阅读次数:
124
题目描述 Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree. According to the definition of LCA on Wikipedia: “The ...
分类:
其他好文 时间:
2020-04-23 00:51:39
阅读次数:
73
"A. Candies and Two Sisters" + 将糖果分为a,b两份,且a t; while(t ){ cin n; cout t; while(t ){ cin n a b; for(int i = 0; i book; int main(void){ ios::sync_with_ ...
分类:
其他好文 时间:
2020-04-22 13:42:51
阅读次数:
85
目标检测轻量化压缩 目标检测难点概述 目标检测是计算机视觉中一个重要问题,在行人跟踪、车牌识别、无人驾驶等领域都具有重要的研究价值。近年来,随着深度学习对图像分类准确度的大幅度提高,基于深度学习的目标检测算法逐渐成为主流。 自 2014 年以来,目标检测框架分为two-stage 和 one-sta ...
分类:
其他好文 时间:
2020-04-22 09:44:54
阅读次数:
61
The "eight queens puzzle" is the problem of placing eight chess queens on an 8 chessboard so that no two queens threaten each other. Thus, a solution ...
分类:
其他好文 时间:
2020-04-21 23:40:06
阅读次数:
92
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex ...
分类:
其他好文 时间:
2020-04-21 18:36:52
阅读次数:
67
<script type="text/javascript"> $(function () { var obj = { name: "军需品", myclass: [{ one: 1, two: 2, three: 3 }, { one: 11, two: 22, three: 33 }, { on ...
分类:
编程语言 时间:
2020-04-21 09:18:21
阅读次数:
92