码迷,mamicode.com
首页 >  
搜索关键字:one person game    ( 39118个结果
python判断字典值或键在不在字典里
dict1={'name':'Lara','age':18} #判断键在不在字典中 for one in dict1: if 'name' in dict1:#或dict1.keys() print('key在字典中!') break #判断值在不在字典中 for one in dict1: if ...
分类:编程语言   时间:2021-04-16 12:04:54    阅读次数:0
关于synchronized
1:对synchronized的理解: 1.1 :假设t1和t2并发,开始执行时肯定有先有后 1.2:假设t1先执行,看到synchronized这个时候自动找“后面的共享对象”的对象锁,找到后并占有锁,然后执行后面同步代码块,在程序执行过程一直都是占有这把锁,直到同步代码块结束,锁才释放。 1.3 ...
分类:其他好文   时间:2021-04-15 12:38:55    阅读次数:0
Jira学习----缺陷信息与缺陷跟踪流程
缺陷的信息: 缺陷严重程度:给开发指明当前重点;方便领导把控产品状态。(测试定的) 致命 严重 一般 建议 缺陷报告样例:(目的描述缺陷,使开发能够重现缺陷过程) 缺陷标题, 类型, 缺陷内容:(前置条件,重现步骤,期望结果与实际结果) 优先级, 缺陷严重程度。 缺陷常见4状态:新建(测试发起缺陷) ...
分类:其他好文   时间:2021-04-15 12:37:40    阅读次数:0
re模块函数(正则表达式)
一、正则表达式对象 obj = compile(pattern,flags = 0) 功能:获得正则表达式对象 参数:pattern:正则表达式 flags:功能标志位,提供更丰富的匹配 返回值:正则表达式对象 obj.findall(string,pos,endpos) 功能:通过正则表达式匹配字 ...
分类:其他好文   时间:2021-04-15 12:27:31    阅读次数:0
Count IP Addresses(codewar)
题目: Implement a function that receives two IPv4 addresses, and returns the number of addresses between them (including the first one, excluding the la ...
分类:其他好文   时间:2021-04-15 12:16:50    阅读次数:0
去掉网页一直点击出现蓝色背景的效果
body, html{ -moz-user-select: none; /*火狐*//*选中文字时避免出现蓝色背景*/ -webkit-user-select: none; /*webkit浏览器*//*选中文字时避免出现蓝色背景*/ -ms-user-select: none; /*IE10*// ...
分类:Web程序   时间:2021-04-15 12:13:30    阅读次数:0
RuntimeError: CUDA error: device-side assert triggered的解决
参考资料:自己debug 首先,我报错的问题的文本是:RuntimeError: CUDA error: device-side assert triggered以及 Assertion `input_val >= zero && input_val <= one` failed 把这两个文本放在前 ...
分类:其他好文   时间:2021-04-15 12:08:09    阅读次数:0
python list按 两个字段排序
[ { "m": "01", "v": 0.019, "dq": 0, "ts": null, "pf": null, "time": "2021-03-28 00:00:00", "stringTime": "2021-03-28", "flag": null }, { "m": "01", "v ...
分类:编程语言   时间:2021-04-15 12:00:42    阅读次数:0
C. Add One
http://codeforces.com/contest/1513/problem/C dp $f[i][j]:$表示当前数位上为i(0~9), 加法次数为j最终形成的数位. f[i][j] = f[i - 1][j + 1]; f[9][j] = f[1][j + 1] + f[0][j + 1 ...
分类:其他好文   时间:2021-04-13 12:19:52    阅读次数:0
Golang Stream Api
package stream import ( "log" "reflect" "sort" ) type ( // a Stream is where one can drain data from Stream chan interface{} // buffer stream BufferSt ...
分类:Windows程序   时间:2021-04-13 12:15:56    阅读次数:0
39118条   上一页 1 ... 22 23 24 25 26 ... 3912 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!