码迷,mamicode.com
首页 >  
搜索关键字:union all    ( 25526个结果
Python 内建函数
Python 有一组内建函数。 函数描述 abs() 返回数的绝对值 all() 如果可迭代对象中的所有项均为 true,则返回 True。 any() 如果可迭代对象中的任何项为 true,则返回 True。 ascii() 返回对象的可读版本。用转义字符替换 none-ascii 字符。 bin ...
分类:编程语言   时间:2020-05-09 17:22:14    阅读次数:77
PHPexcel导出赋值
/*导出excel*/ public function download(){ error_reporting(E_ALL); date_default_timezone_set('Asia/Shanghai'); ini_set('memory_limit','300M'); set_time_l ...
分类:Web程序   时间:2020-05-09 11:55:30    阅读次数:82
django QuerySetAPI
一般操作 https://docs.djangoproject.com/en/3.0/ref/models/querysets/ 官网 文档 https://www.cnblogs.com/study-learning/p/9969486.html 必知必会13条 <1> all(): 查询所有结果 ...
分类:Windows程序   时间:2020-05-09 11:51:06    阅读次数:95
【LeetCode-动态规划】统计全为 1 的正方形子矩阵
题目描述 给你一个 m n 的矩阵,矩阵中的元素不是 0 就是 1,请你统计并返回其中完全由 1 组成的 正方形 子矩阵的个数。 示例: 题目链接: https://leetcode cn.com/problems/count square submatrices with all ones/ 做这 ...
分类:其他好文   时间:2020-05-09 00:49:10    阅读次数:70
Sobel边缘检测(2)-matlab
Sobel边缘检测(2)-matlab clcclearclear all close all%%%对图像做均值滤波处理img = imread('1.png');figure(1)subplot(1,2,1),imshow(img),title('原始图像')%%%将彩色图像转灰度图像img_gr ...
分类:其他好文   时间:2020-05-08 18:16:07    阅读次数:83
1050 String Subtraction
Given two strings S?1?? and S?2??, S=S?1???S?2?? is defined to be the remaining string after taking all the characters in S?2?? from S?1??. Your task ...
分类:其他好文   时间:2020-05-08 17:52:00    阅读次数:67
滑动窗口Sliding Window Algorithm
应用及优点: 1.可用于解决数组或者字符串的子元素问题。 2.用单循环代替了嵌套循环问题,时间复杂度低。 3.用双指针维护动态窗口。 相关算法题: Longest Substring Without Repeating Characters无重复最长子串 Find All Anagrams in a ...
分类:Windows程序   时间:2020-05-08 16:27:01    阅读次数:86
内置函数
print(all([1,2,3,4]))#判断可迭代的对象里面的值是否都为真,非0即真 Trueprint(all([1,2,3,4,0])) #Falseprint(any([0,1,2,3,4]))#判断可迭代的对象里面的值是否有一个为真,有一个为真就返回真,全是假才返回假 Trueprint ...
分类:其他好文   时间:2020-05-08 16:09:21    阅读次数:56
linux下svn的常用代码
来自: https://www.cnblogs.com/rosesmall/archive/2012/04/10/2439915.html 1、将文件checkout到本地目录svn checkout path(path是服务器上的目录) 例如:svn checkout svn://192.168. ...
分类:系统相关   时间:2020-05-08 10:10:06    阅读次数:78
cors跨域(支持cookie跨域) node后台 express
1. 不用中间件的话可以这样写 app.all('*', function (req, res, next) { res.header("Access-Control-Allow-Origin", "http://www.xxx.com"); res.header('Access-Control-A ...
分类:其他好文   时间:2020-05-08 09:45:45    阅读次数:76
25526条   上一页 1 ... 89 90 91 92 93 ... 2553 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!