摘要: Q:Navicat连接Mysql8.0.11出现1251错误 https://blog.csdn.net/qq_36068954/article/details/80175755 Q:更新pip https://blog.csdn.net/gududelang22/article/details/9 阅读全文
posted @ 2020-11-27 10:32 小草今天又在摸鱼吗 阅读(86) 评论(0) 推荐(0) 编辑
摘要: c语言中反转字符串的函数strrev(),reverse() #include<string.h>的 strrev()用来反转字符数组 #include<algorithm>的reverse() 用来反转容器中的内容 矩阵相乘 https://www.cnblogs.com/ljy-endl/p/1 阅读全文
posted @ 2019-10-30 16:54 小草今天又在摸鱼吗 阅读(126) 评论(0) 推荐(0) 编辑
摘要: AC自动机:https://www.cnblogs.com/cjyyb/p/7196308.html cpu的乱序执行 : https://blog.csdn.net/qq_36623327/article/details/107622833 https://www.zhihu.com/questi 阅读全文
posted @ 2019-10-30 15:40 小草今天又在摸鱼吗 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 这道题注意空值的处理,用到了nvl函数 sql 语句NVL()用法 - change_world - 博客园 (cnblogs.com) /* Write your PL/SQL query statement below */ select name from customer where nvl 阅读全文
posted @ 2022-11-09 14:01 小草今天又在摸鱼吗 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 2022 10.17-10.21 @Repository注解的作用_@Hmily@的博客-CSDN博客_repository注解的作用 10.24-10.28 DTO层 和 Model层 的区别_--Alvin--的博客-CSDN博客_dto model 阅读全文
posted @ 2022-10-24 14:27 小草今天又在摸鱼吗 阅读(21) 评论(0) 推荐(0) 编辑
摘要: class Solution { public List<String> findMissingRanges(int[] nums, int lower, int upper) { List<String> ans = new ArrayList<String>(); String tp = ""; 阅读全文
posted @ 2022-10-08 23:26 小草今天又在摸鱼吗 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 1 /** 2 * The read4 API is defined in the parent class Reader4. 3 * int read4(char[] buf4); 4 */ 5 6 public class Solution extends Reader4 { 7 /** 8 * 阅读全文
posted @ 2022-10-08 22:59 小草今天又在摸鱼吗 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 1818. 绝对差值和 - 力扣(LeetCode) 官方题解 绝对差值和 - 绝对差值和 - 力扣(LeetCode) wa的思路: 1、找绝对值差最大的位置maxi 然后取nums2[maxi]的值去有序的nums1[]里面二分查找 2、不处理二分边界值 3、不考虑返回位置中 相邻的另一个左数的 阅读全文
posted @ 2022-10-03 00:13 小草今天又在摸鱼吗 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 304. 二维区域和检索 - 矩阵不可变 - 力扣(LeetCode) 根据原始数组martix,维护一个a数组作为二维前缀和,然后通过sunRegion函数的公式可以求出左上坐标(row1,col1)右下坐标(row2,col2)的矩阵中 元素的总和 class NumMatrix { priva 阅读全文
posted @ 2022-09-27 22:05 小草今天又在摸鱼吗 阅读(15) 评论(0) 推荐(0) 编辑
摘要: SQL https://www.w3school.com.cn/sql/sql_quickref.asp 快速参考 SQL 测验 (w3school.com.cn) SELECT * FROM Persons SELECT DISTINCT 列名称 FROM 表名称 --distinct去重 SEL 阅读全文
posted @ 2022-09-16 11:19 小草今天又在摸鱼吗 阅读(47) 评论(0) 推荐(0) 编辑
摘要: JAVA核心卷1-5继承 (目前本书 把子类父类叫做子类超类 //使用extends关键字进行继承 public class Manager extends Employee { //添加方法和域 } 覆盖方法 情况:超类中的某些方法对子类并不适用,比如Manager加了奖金实体,超类的getSal 阅读全文
posted @ 2022-08-26 10:38 小草今天又在摸鱼吗 阅读(22) 评论(0) 推荐(0) 编辑
摘要: JAVA核心卷1-4对象与类 对象三个主要特性:行为、状态、标识 behavior:可以施加什么操作或方法 state:施加方法时,对象如何响应 identity:如何辨别具有相同行为和不同状态的不同对象 对象状态的改变必须通过调用方法实现,否则破坏封装性 类之间的关系”依赖(use-a)、聚合(h 阅读全文
posted @ 2022-08-24 17:23 小草今天又在摸鱼吗 阅读(13) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-08-23 08:53 小草今天又在摸鱼吗 阅读(0) 评论(0) 推荐(0) 编辑