码迷,mamicode.com
首页 >  
搜索关键字:there are two rows o    ( 14173个结果
leetcode 64 add binary
题目 Given two binary strings, return their sum (also a binary string). The input strings are both non-empty and contains only characters 1 or 0. Exampl ...
分类:其他好文   时间:2020-07-10 20:58:33    阅读次数:56
SQL批量插入数据【万级】
1、每4000条插入一次 for (int i = 0; i < dt.Rows.Count; i++) { IsTBProductForStockInfo model = new IsTBProductForStockInfo(); model.SyncSkuCode = dt.Rows[i][" ...
分类:数据库   时间:2020-07-10 17:07:37    阅读次数:65
LeetCode刷题
LC148 two-sum 题意:数组中找出两个加起来等于目标值的数 题解:unordered存值对应下标,注意相同数的特判 LC147 median-of-two-sorted-arrays 题意:两个有序数组中位数 题解:Kth(A,m,B,n,k),若m>n交换,pa=min(k/2,m),p ...
分类:其他好文   时间:2020-07-10 15:23:31    阅读次数:60
MYSQL误删用户故障解决案例
误删下所有的用户 # 删除一个用户(::1 是本机 ipv6 地址) mysql> drop user root@'::1'; Query OK, 0 rows affected (0.00 sec) # 删除所有用户 mysql> delete from mysql.user where 1=1; ...
分类:数据库   时间:2020-07-10 13:25:46    阅读次数:69
mybatis-plus update 更新操作
mybatis-plus update 版本:3.0+ 根据id更新 User user = new User(); user.setUserId(1); user.setAge(29); user.updateById(); or Integer rows = userMapper.updateB ...
分类:其他好文   时间:2020-07-10 11:39:57    阅读次数:559
680. Valid Palindrome II
package LeetCode_680 /** * 680. Valid Palindrome II * https://leetcode.com/problems/delete-operation-for-two-strings/description/ * * Given two words ...
分类:其他好文   时间:2020-07-10 09:29:42    阅读次数:68
Code-Output File-Two Way
#Code-Output File-Two Way July 9, 2020 9:25 PM ##1.使用ofstream 输出 #include <fstream> SYSTEMTIME st; GetLocalTime(&st); CString strTime; strTime.Format( ...
分类:其他好文   时间:2020-07-09 22:11:03    阅读次数:73
sqlldr return code
Just curious where you saw error code 2 is incorrect usage of command? The documentation indicates that it's one of the following: All or some rows re ...
分类:数据库   时间:2020-07-09 15:00:59    阅读次数:67
4. 中值滤波
一、椒盐噪声 void salt(Mat& img, int num) { if (img.data == NULL) return; srand(time(NULL)); int i, j; for (int k = 0; k < num; k++) { i = rand() % img.rows ...
分类:其他好文   时间:2020-07-09 12:30:12    阅读次数:72
题解 CF1004F Sonya and Bitwise OR
如果只有一次询问,可以分治,每次考虑跨过中点的情况。预处理左半边后缀or和,右半边前缀or和,然后用two pointers求。发现前、后缀or和只会变化O(log a)次。用线段树维护,记录每个区间的答案,以及前、后缀or和(这O(log a)个段)。push_up和查询时,还用two point... ...
分类:其他好文   时间:2020-07-08 23:21:12    阅读次数:78
14173条   上一页 1 ... 18 19 20 21 22 ... 1418 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!