码迷,mamicode.com
首页 >  
搜索关键字:spell it right    ( 9304个结果
leetcode刷题记录
树 104.二叉树的最大深度 /** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { va ...
分类:其他好文   时间:2020-04-21 00:21:22    阅读次数:87
766. Toeplitz Matrix
Problem : A matrix is Toeplitz if every diagonal from top left to bottom right has the same element. Now given an M x N matrix, return True if and onl ...
分类:其他好文   时间:2020-04-20 12:00:41    阅读次数:54
Join 实现 2 表数据联动
通过 left join 和 right join 配合 主键更新 (帆软报表演示) 实现 2 表的 数据联动变化. ...
分类:其他好文   时间:2020-04-20 01:22:14    阅读次数:50
Codeforces Round #635 (Div. 2) E. Kaavi and Magic Spell 区间dp
https://codeforces.ml/contest/1337/problem/E 给出两个字符串 s和t ,字符串s的长度大于等于t的长度,和一个空字符串A; 可以执行两种操作: 1.将s的第一个字符删除并加到A字符串的前面; 2.将s的第一个字符删除并加到A字符串的后面; 求此过程中A的前 ...
分类:其他好文   时间:2020-04-19 18:01:51    阅读次数:82
MySQL 字符串函数substring、字符串截取substring_index
MySQL 字符串截取函数:left(), right(), substring(), substring_index()。还有 mid(), substr()。其中,mid(), substr() 等价于 substring() 函数,substring() 的功能非常强大和灵活。 1、字符串截取 ...
分类:数据库   时间:2020-04-18 20:07:45    阅读次数:92
sql语句执行顺序
sql语句定义的顺序 (1) SELECT (2)DISTINCT<select_list> (3) FROM <left_table> (4) <join_type> JOIN <right_table> (5) ON <join_condition> (6) WHERE <where_condi ...
分类:数据库   时间:2020-04-18 18:42:59    阅读次数:70
第八周保险利息
一项连续支付的年金,第 1 年连续支付 100 元,第 2 年连续支付120 元,第 3 年连续支付 140 元,以此类推,直到第 15 年连续支付 380 元。假设年实际利率为 5%,请问该年金的现值 $80 \times \frac{1 \left(\frac{1}{1+0.05}\right) ...
分类:其他好文   时间:2020-04-17 20:30:27    阅读次数:104
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near
create table fina_indicator(ts_code varchar(20) comment 'TS代码',ann_date date comment '公告日期',end_date date comment '报告期', ..... 报错信息:ERROR 1064 (42000) ...
分类:数据库   时间:2020-04-17 15:58:46    阅读次数:84
Codeforces Round #635 (Div. 2) E.Kaavi and Magic Spell(区间dp)
设计状态dp[i][j]表示T串Ti到Tj(区间i,j)匹配到的个数 由于T串比S串小,所以在区间(m,n)可以插入的字符串是任意的。 转移方程 if s[i] = t[l],dp[l][r] = dp[l][r] + dp[l+1][r] if s[i] = t[r] ,dp[l][r] = dp ...
分类:其他好文   时间:2020-04-17 12:35:45    阅读次数:76
Codeforces Round #635 (Div. 2) E——Kaavi and Magic Spell 区间dp
补题,参考博客:https://blog.csdn.net/qq_43676357/article/details/105559491?fps=1&locationNum=2 ...
分类:其他好文   时间:2020-04-16 20:54:41    阅读次数:78
9304条   上一页 1 ... 46 47 48 49 50 ... 931 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!