码迷,mamicode.com
首页 >  
搜索关键字:square    ( 2122个结果
python几个重要的内置函数
all all() 函数用于判断给定的可迭代参数 iterable 中的所有元素是否都为 TRUE,如果是返回 True,否则返回 False。 元素除了是 0、空、None、False 外都算 True。 any any() 函数用于判断给定的可迭代参数 iterable 是否全部为 False, ...
分类:编程语言   时间:2020-05-07 00:42:47    阅读次数:79
源码系列--OkHttp(CallServerInterceptor)
Github下载源码地址https://github.com/square/okhttp 我们今天来看看拦截器里的CallServerInterceptor 来看CallServerInterceptor类的intercept方法 1)源码: Exchange exchange = realChai ...
分类:Web程序   时间:2020-04-30 18:57:40    阅读次数:82
源码系列--OkHttp
OkHttp官网地址:https://square.github.io/okhttp/ 用法如下:(get请求) package okhttp3.guide; import java.io.IOException; import okhttp3.OkHttpClient; import okhttp ...
分类:Web程序   时间:2020-04-25 19:16:22    阅读次数:76
Conway's Game of Life
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
sse、mse、rmse、 r-square
https://www.cnblogs.com/DjangoBlog/p/9575360.html 总结: sse、mse、rmse越接近于0,说明模型选择和拟合更好,数据预测也越成功 r-square“确定系数”的正常取值范围为[0 1],越接近1,表明方程的变量对y的解释能力越强,这个模型对数据 ...
分类:其他好文   时间:2020-04-19 17:46:58    阅读次数:62
Python Basic - 练习-提示用户输入长度跟宽度,然后输出字符“0”描述出一个正方形
[root@Private python script] cat square.py ...
分类:编程语言   时间:2020-04-19 12:32:24    阅读次数:65
web前端入门到实战:css如何玩转有序无序列表项list样式
在无序列表ul>li中,无线列表的标志是出现在各列表前面的圆点。在有序列表ol>li中,前面默认带有数字,如何修改列表前面的项目符号,只需要通过list-style调整就好,常见的符号有(/内容注释部分/)list-style-type:circle;/空心圆/list-style:none;/去除标志/list-style:square;/方块/list-style:upper-ro
分类:Web程序   时间:2020-04-17 09:21:30    阅读次数:89
Corn Fields【状态压缩dp】
题目: Farmer John has purchased a lush new rectangular pasture composed of M by N (1 ≤ M ≤ 12; 1 ≤ N ≤ 12) square parcels. He wants to grow some yummy c ...
分类:其他好文   时间:2020-04-13 22:54:46    阅读次数:61
Leetcode-633 (两数平方和)
1.题目描述: 判断一个非负整数是否为两个整数的平方和。 2.同Leetcode167,使用双指针来解题 import math class Solution: def judgeSquareSum(self, c: int) -> bool: if c < 0: return False #如果c ...
分类:其他好文   时间:2020-04-09 10:35:12    阅读次数:67
HDU1398:Square Coins(DP水题)
Square Coins Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15764 Accepted Submission(s): 10843 ...
分类:其他好文   时间:2020-04-07 20:38:31    阅读次数:128
2122条   上一页 1 ... 8 9 10 11 12 ... 213 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!