NOT
leetcode-1342-easy
Number of Steps to Reduce a Number to Zero Given an integer num, return the number of steps to reduce it to zero. In one step, if the current number i ......
leetcode-1360-easy
Number of Days Between Two Dates Write a program to count the number of days between two dates. The two dates are given as strings, their format is YY ......
leetcode-766-easy
Toeplitz Matrix Given an m x n matrix, return true if the matrix is Toeplitz. Otherwise, return false. A matrix is Toeplitz if every diagonal from top ......
leetcode-806-easy
Number of Lines To Write String You are given a string s of lowercase English letters and an array widths denoting how many pixels wide each lowercase ......
leetcode-812-easy
Largest Triangle Area Given an array of points on the X-Y plane points where points[i] = [xi, yi], return the area of the largest triangle that can be ......
leetcode-830-easy
Positions of Large Groups In a string s of lowercase letters, these letters form consecutive groups of the same character. For example, a string like ......
leetcode-844-easy
Backspace String Compare Given two strings s and t, return true if they are equal when both are typed into empty text editors. '#' means a backspace c ......
leetcode-944-easy
Delete Columns To Make Sorted You are given an array of n strings strs, all of the same length. The strings can be arranged such that there is one on ......
Android Studio APP开发实战
今天学习了Android Studio的活动 activity 活动是什么 活动(Activity )是最容易吸引用户的地方,它是一种可以包含用户界面的组件,主要用于和用户进行交互。一个应用程序中可以包含零个或多个活动,但不包含任何活动的应用程序很少见,谁也不想让自己的应用永远无法被用户看到吧? 活 ......
day45 (2023.4.14)
1.SQL函数的介绍 2.函数的分类 3.单行函数 4.单行函数(字符函数) 5.单行函数(数字函数) 6.单行函数(日期函数) 7.单行函数(转换函数) 8.单行函数(通用函数) 9.单行函数,小练习 day45(2023.4.14) ......
python常用标准库
标准库之os 系统相关变量和操作 文件和目录相关操作 执行命令和管理进程 import os # 1.系统相关的内容 print(os.name) print(os.environ) # 环境变量 print(os.sep) # 查看分隔符 print(os.pathsep) # windows是; ......
每日记录
今天进行了团队作业的任务,对于车主登录确认的方面有些门路但是不知道具体怎么做,这个东西不知道怎么跟它连接,有问题。 主要是我的能力不够,所以我决定把这个任务交给石依豪,他比我强一捏捏,我觉得找他会解决的快一点。 ......
Dockerfile,docker私有仓库,dockercompose介绍,dockercompose部署flask+redis项目,dockercompose一键部署路飞项目
Dockerfile,docker私有仓库,dockercompose介绍,dockercompose部署flask+redis项目,dockercompose一键部署路飞项目 Dockerfile命令 # FROM:指定基础镜像 # RUN:构建镜像过程中需要执行的命令 # CMD:添加启动容器时 ......
BDC
*& * *& Report ZBDC1 *& *& * *& *& *& * REPORT ZBDC1. TYPE-POOLS:SLIS. TYPES:BEGIN OF GTY_MATERIAL, MATNR(18) TYPE C,"物料编号 MAKTX(40) TYPE C,"物料描述 BISM ......
Moves, copies and clones in Rust
原文链接:Moves, copies and clones in Rust 简介(Introduction) move 和 copy 是 Rust 中的基础概念。这对于来自 Ruby、Python 或 C#等垃圾回收语言的程序员来说可能是完全陌生的。这些术语在 C++中也确实存在,但它们在 Rust ......
4月14号总结
package com.itheima.mapper; import com.itheima.pojo.Brand; import org.apache.ibatis.annotations.Insert; import org.apache.ibatis.annotations.Param; im ......
How to use command line find all users on Linux All In One
How to use command line find all users on Linux All In One
Linux 系统中一切皆文件, 就像 js 中一切皆对象一样
/etc/passwd
......
Paillier半同态加密算法及C++实现
Paillier 半同态加密系统详解及C++实现 Paillier 半同态加密系统详解及C++实现 一、Paillier 同态加密算法 1.1 基本概念 1.2 算法思路 1.3 加解密过程 密钥生成 KeyGeneration 加密 Encryption 解密 Decryption 二、C++实现 ......
逃逸车牌
一.题目:甲说:牌照前两位数字相同;乙说:牌照后两位数字相同且与前两位不同;丙说:四位车号正好是一个整数的平方; 二.问题分析:车牌问题实际上就是一个四位数满足三个条件:1.千位的数与百位数相同(牌照前两位数字相同)2.个位和十位数字相同且不等于千位百位(后两位数字相同,且与前两位不同) 3.四位数 ......
【考后总结】NOI 统一省选 2023
文化课补完了,但是考试考炸了,所以来补题。 D1T1 火车站 station 实际上只需要判断从 $x$ 能否一直向一个方向移动且每个位置能不能作为这个方向的终点站。 区间覆盖差分一下即可。 点击查看代码 int n,m,x; int st[maxn][2],cov[maxn]; bool vis[ ......
CppDepend2023.1分析
这是一个.Net程序,使用 dotfuscator进行了混淆。虽然混淆了,但是不影响调试,可以直接使用dnspy进行调试。Help>License Information可以作为调试的入口点。 通过实时调试可以很轻松的找到校验授权的代码,在CppDepend.Core.dll中。可以将其修改为总是返 ......
日结
时长 3h 代码量 200 内容 web实验2 1.学习了如何设置超链接的颜色及鼠标移上去显示的颜色,以及去除超链接的下划线 2.设置cookie,当用户合法登录后,客户端保留5分钟的Cookie。当用户关闭浏览器后,5分钟之内再次访问时可以免登陆。 3.如果用户想访问某个链接,如果判断到cooki ......
Dapper
什么是Dapper? Dapper是Stack Overflow团队开发的Micro-ORM框架,Dapper是一个简单对象mapper对于Net并且在速度方面有King of Micro ORM称号,几乎与原生ADO.NET data reader一样。ORM是一个对象关系映射,负责映射datab ......
SpringSecurity过滤器-CsrfFilter
CsrfFilter是为了防御CSRF攻击的。CSRF攻击请参考松哥手把手教你在 SpringBoot 中防御 CSRF 攻击!so easy! 。 CsrfFilter的源码在要学就学透彻!Spring Security 中 CSRF 防御源码解析 说的很清楚了。 在这里是对LazyCsrfTok ......
Go For Web:Golang http 包详解(源码剖析)
前言: 本文作为解决如何通过 Golang 来编写 Web 应用这个问题的前瞻,对 Golang 中的 Web 基础部分进行一个简单的介绍。目前 Go 拥有成熟的 Http 处理包,所以我们去编写一个做任何事情的动态 Web 程序应该是很轻松的,接下来我们就去学习了解一些关于 Web 的相关基础,了 ......
每日总结2023-04-14
今天对Android界面进行了优化,对与以前的代码略有改动 这是主界面,包括listView查看每日信息,补货按钮,more按钮:更多信息 <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://sch ......
c/c++快乐算法第一天
c/c++感受算法乐趣(1) 开始时间2023-04-14 18:31:47 结束时间2023-04-14 22:06:02 前言:经过两天的学习,是不是发现编程也挺简单的。其实不然,学好算法同时也是练习编程的关键一环。接下来每周末我将会带领你感受算法的乐趣。目前题目摘自c语言趣味编程100例清华大 ......
雅思备考重点资料推荐
听力: 王陆真题语料库:(练听时默写,训练听的能力和拼写的能力) 重点做 chap11(2.5h)、chap5词组吞音(2h),原速是提分关键 chap3名词、chap4(形容词)1.5倍速 王陆高分听力网课:做题技巧 何琼:17h版本,主要是扫做题技巧 王陆助教,学渣带你飞过雅思:听力sec4 4 ......