increasing decreasing 1864a and
.Net6 and VsCode CodeFirst开发和迁移使用
VsCode开发.net6 干货如下: C# Base language support for C# 包含vscode的调试 C# Dev Kit C# Extensions IntelliCode IntelliCode API Usage Examples IntelliCode Comple ......
Measures and effects to address air pollution
Measure: Reduce or prevent the emission of pollutants Reform the energy structure and adopt non-polluting energy sources such as solar energy, wind po ......
CodeCraft-21 and Codeforces Round 711 (Div. 2)
CodeCraft-21 and Codeforces Round 711 (Div. 2) A. GCD Sum 题意 定义 \(gcdSum(x)=gcd(x,sum\ of\ digits\ of\ x)\)。 请你输出最小的 \(x\) 满足 \(x\ge n\),且 \(gcdSum(x) ......
Planting Trees and Glasses--- Holding Back Soil Erosion
Planting trees and glasses 植树种草 Ganzhou, a typical red soil hilly area in Jiangxi province, is a pilot area for high-quality development of soil and w ......
Memo Pack and LeetCode 3
Memo Pack Source code: git.suckless.org/sbase I don't know if it's the standard implementation for Linux bash command, but it's a good material. An ex ......
Drawdown——A New Way of Thinking About and Acting on Global Warming
Definition of drawdown: Drawdown is that point in time when atmospheric concentrations of greenhouse gases begin to decline on a year-to-year basis. M ......
Cisco Packet Tracer and Wireshark
协议时序图 一、客户端:58592;服务器:443 1、Src: 172.29.70.74, Dst: 14.119.104.189 客户端生成公、私钥,将公钥放在key_share中发送给服务端。 标识符:Identification: 0x6a2a (27178) Transmission Co ......
idea提示错误,无效VSC根目录。目录 C:\Users\17482\Desktop\Supermarket-Purchase-Sales-and-Storage-Management-System-master 被注册为 Git 根,但在那里没有发现 Git 仓库。怎么解决?
这个错误信息表明 IntelliJ IDEA 将目录 C:\Users\17482\Desktop\Supermarket-Purchase-Sales-and-Storage-Management-System-master 注册为 Git 根目录,但它没有找到 Git 仓库,因此 IDEA 无法 ......
Ways China’s Cities Can Drive Equitable and Sustainable Urbanization
The five-year plan represents an opportunity not just to advance climate goals, but to create better cities as urbanization continues. Here are five w ......
npm WARN exec The following package was not found and will be installed: create-remix@2.2.0
报错 执行 npx create-remix@latest --template ryanflorence/remix-tutorial-template 提示如下: npm WARN exec The following package was not found and will be inst ......
软件测试|MySQL BETWEEN AND:范围查询详解
简介 在MySQL数据库中,使用BETWEEN AND操作符可以进行范围查询,即根据某个字段的值在指定范围内进行检索数据。这个操作符非常有用,因为它可以让我们轻松地筛选出位于两个特定值之间的数据,而不需要使用复杂的条件语句。 BETWEEN AND操作符的语法 BETWEEN AND操作符的基本语法 ......
CF351B Jeff and Furik 题解
summarization 有一个长为 \(n\) 的排列 \(p\), 现有甲乙两人轮流执行操作,甲是先手: 甲每次可以交换 \(p\) 中相邻的两个数 \(p_i,p_{i+1}\) 乙每次等概率执行下面两种操作的一种: 选择一对 \(p_i,p_{i+1}\),且 \(p_i\le p_{i+ ......
【论文阅读笔记】【OCR-文本检测】 Few Could Be Better Than All: Feature Sampling and Grouping for Scene Text Detection
CVPR 2022 读论文思考的问题 论文试图解决什么问题? 一些基于 DETR 的方法在 ICDAR15, MLT17 等文字尺度变化范围较大的数据集上文本检测的效果不佳 DETR 运用的高层特征图难以捕捉小文字的特征,且会引入很多无关的背景噪声,增加了检测的困难程度 即使使用 DETR 的改进模 ......
CF1583G Omkar and Time Travel
CF1583G Omkar and Time Travel 想清楚了就不难。 首先我们考察一下性质,一次 time leap 之后只有包含于 \((a_i, b_i)\) 的区间会被重置,考虑这样一件事情:设 \(f_{l,r}\) 表示从 \(l\) 左边走到 \(r\) 右边的 time lea ......
CF301E Yaroslav and Arrangements 题解
### $\text{Description}:$ 给定一个长为 $s$ 序列 $a$,如果 $a_1 = \min_{i=1}^{r} a_i$。令 $a_{s + 1} = a_1$,有 $\forall i ,\left | a_i-a_{i+1} \right | =1$,我们称这个序列是良 ......
[ARC105C] Camels and Bridge 题解
题意 给定 \(N\) 个重物,其中第 \(i\) 个重物的重量为 \(w_i\)。现在要将其排成一排,可以任意指定相邻两个重物的距离。 同时给定 \(M\) 个限制,其中第 \(i\) 个限制为 \((l_i, v_i)\),表示要求不存在长度为 \(l_i\) 的线段,使得其包括的重物重量之和大 ......
cf1582F2. Korney Korneevich and XOR (hard version)(暴力优化)
cf1582F2 对于每种数可以维护一个列表v[x],表示到当前位置,最后一个数小于等于x,能够取到的值,对于当前的数ai,我们可以用v[ai]中的值x与ai异或,来更新v[ai+1],v[ai+2]后面的值。 然后就是有两个优化,每次我们更新完后,都对v[a[i]]清空,因为只有两个相同数之间的数 ......
【转载】The Beginner’s Guide to Creating and Selling Cheat Sheets
【from】https://medium.com/practice-in-public/the-beginners-guide-to-creating-and-selling-cheat-sheets-23756af06b12 This is 10x better than your 50-page ......
【Vue3响应式原理#02】Proxy and Reflect
本篇文章将解决上一篇文章 结尾遗留的问题:如何让代码自动实现响应性? 换句话说就是,如何让我们的 effect 自动保存 & 自动重新运行?又如何拦截对象属性的访问和赋值操作? ......
[LeetCode] 1359. Count All Valid Pickup and Delivery Options 有效的快递序列数目
Given n orders, each order consists of a pickup and a delivery service. Count all valid pickup/delivery possible sequences such that delivery(i) is al ......
安全 – CSP (Content Security Policy) and X-Frame-Options
前言 之前讲过 CSRF。防 Cookie hacking 的。 也介绍过防 XSS 的 HtmlSanitizer。 今天再介绍多 2 个 CSP 和 X-Frame-Options。 CSP (Content Security Policy) 它是游览器的其中一种防 hack 机制。除 IE 以 ......
Dasha and Nightmares 题解
题目传送门 一道字符串题。 既然两个字符串拼接后有一种字符不能出现,那么可以枚举这个字符,我们就只需要关注没有出现过这种字符的字符串了。 剩下的字符串仅会出现 \(25\) 种字符,而我们并不关心字符串里字符的顺序,仅关心字符出现的个数的奇偶性,因此我们可以把字符串看做是一个长度为 \(25\) 的 ......
Entering China's strategies of water pollution and identifying an effective measure, as well as its working principle and impact
Water Pollution Control Strategies in China(Some examples) (1)China’s strategy for controlling water pollution focused first on reducing the discharge ......
c: struct sort descending and ascending
/** * @file hello.c * @author your name (geovindu) * @brief * @ide vscode c11,c17 windows 10 * @version 0.1 * @date 2023-11-05 * * @copyright Copyrigh ......
Ozon Tech Challenge 2020 (Div.1 + Div.2, Rated, T-shirts + prizes!) B. Kuroni and Simple Strings
Problem - 1305B - Codeforces 啦啦啦,这题题目有点长,概括一下就是,希望将所有()匹配的括号去掉 问你需要操作多少次 双指针,一个i一个j,从前往后记录匹配的括号 如果发现: 1. 括号匹配 2. i<j ok,就放入ans (⊙o⊙)…,最后记得sort一遍ans,第一 ......
获取图片并进行图片切换(FolderBrowserdDialog and OpenFileDialog用法)
winform布局如下图: 获取文件夹按钮,通过FolderBrowserDialog对话框,选择本地电脑文件路径,后台代码实现如下: private void button1_Click(object sender, EventArgs e) { folderBrowserDialog1.Desc ......
CF390B Inna, Dima and Song Solution
转裁自我的洛谷博客 :https://www.luogu.com.cn/blog/653832/solution-cf390b 题目传送门 思路: 如果 $b_i \le 1$ 则无解。 如果 ceil((double)b[i]/2)>a[i],即最好情况下,两个人的音量平均,但是较大的音量还是大于 ......
CF1874F Jellyfish and OEIS
题意 给定一个序列 \(m\) ,你需要求出满足以下性质排列 \(p\) 的个数,对大质数取模: 对于任意 \(l,r\) ,\(p_{l...r}\) 为一个 \([l,r]\) 的排列与 \(r \le m_l\) 不同时成立。 Sol 考虑从题目的奇怪限制入手(也只能从这里入手),我们记一个区 ......
c: Analyzing text in window and Ubuntu
Ubuntu 22.4: /** * @file AnalyzingText.h * @brief Analyzing text * @author geovindu,Geovin Du,涂聚文 (geovindu@163.com) * ide: vscode c11,c17 Ubuntu 22.4 ......