do
do_page_fault
struct pt_regs { union { struct user_pt_regs user_regs; struct { u64 regs[31]; u64 sp; u64 pc; u64 pstate; }; }; u64 orig_x0; #ifdef __AARCH64EB__ u32 ......
P8386 [PA2021] Od deski do deski
一道很抽象的 \(\text {dp}\)? 状态就比较抽象。注意到 \(m\) 有 \(10^9\),肯定不能带到状态里。但是我们可以注意到:如果当前序列 \(S\) 已经合法,且有 \(S+x\) 合法,那么 \(S+x+x\) 也一定合法,因为我们可以把两个 \(x\) 消掉。因此,可以设计 ......
keil 工程编译报错browse infomation of one or more files is not available: ……Doing a project rebuild might fix this.
原因 在文件树添加相应文件夹及文件后,在下图添加相应路径时直接输入相对路径导致识别出错。 解决方法 点击右边三个点,进入相应文件夹夹,再点击添加。如无文件夹可删除直接填写的路径,保存退出后,重新进入添加。 ......
P8386 [PA2021] Od deski do deski 题解
P8386 platelett 讲的题欸。 先考虑给定序列怎么做。 问题显然可以转化为能否将序列分成若干个子序列。令 \(f_i\) 表示前 \(i\) 个数是否能够删完。则有 \(f_i = f_j[a_i=a_j, f_j=1]\)。这样是 \(n^2\) 的,也无法扩展至所有数列的情况。 建立 ......
do_fork-->copy_process(二)
1 /* 2 * This creates a new process as a copy of the old one, 3 * but does not actually start it yet. 4 * 5 * It copies the registers, and all the app ......
'@' that cannot start any token. (Do not use @ for indentation)
1.问题 idea启动maven项目时,报以下错误 cannot start any token. (Do not use @ for indentation) 2.解决方法 右键项目中的pom.xml文件,找到Maven中的Reload project就可以了 ......
while 与do while的区别
do....while 与while 的区别 while 先判断后执行,do while是先执行后判断 do while 总是保证循环体会被至少执行一次 public static void main(String[] args) { int a =0; while (a <0){ System.o ......
to do list
to do list 线性基 \(at\&cf\) 的思维训练 \(dp\) 训练 容斥技巧 贪心训练 冷门算法:\(kruskal\) 重构树等 积累一些技巧 网络流的一些定理:\(hall\) 定理 \(\&\;dilworth\) 定理 联考课件 ......
Git- Fatal: cannot do a partial commit during a merge
在提交单个文件的时候出现这个错误. 意思是不能部分提交代码. 原因是git认为你有部分代码没有做好提交的准备, 比如没有添加 解决方法是 1. 提交全部 git commit -a 2. 如果不想提交全部,那么可以通过添加 -i 选项 git commit file/to/path -i -m me ......
How can I do to protect the Environmental
How can I do to protect the Environmental Protecting the environment is an important responsibility that we all share. Here are some simple steps you ......
What do you think of Crazy Shopping on Novermber?
What do you think of Crazy Shopping on Novermber? As an AI language model, I do not have personal opinions or feelings about shopping on November or a ......
Do cars need smart devices?
Smart devices are becoming increasingly common in modern cars, and they can provide several benefits for drivers. However, whether or not cars need sm ......
What do you think of Online and Classroom Class advantages and disadvantages?
What do you think of Online and Classroom Class advantages and disadvantages? Online and classroom classes each have their own set of advantages and d ......
P8386 [PA2021] Od deski do deski 题解
显然是一道计数 dp。 dp 状态应该是最难的一部分了,个人认为这种状态设计得比较巧妙。如果像我刚开始一样设 \(dp_{i,j}\) 表示序列中一共有 \(i\) 个数,序列最后一个数为 \(j\) 的合法方案数的话,那么方程就会变得很不好转移,因为我们不知道当前的 \(j\) 和之前的某些数能不 ......
To do list
计划按周来计,算法和补题是长期。 计划(一) AT & CF 近几场补题 主页杂题 思维题 算法(二) 网络流 线性基 主席树 莫队 平衡树 树套树 根号分治 启发式合并 ODT 分块 补题(三) \(\text{NOIp}\) 改错,11.22 模拟赛 CD 题,11.27 模拟赛 D 题,12. ......
[ARC111F] Do you like query problems?
题意: 给出三个数 \(n,m,q\)。 你有一个长度为 \(n\) 的序列 \(a\),初始全为为 \(0\),你有三种操作: 操作 \(1\):给出 \(l,r,v\),让区间 \([l,r]\) 对 \(v\) 取 \(\min\)。 操作 \(2\):给出 \(l,r,v\),让区间 \([ ......
shell补-循环案例-当型循环while和直到型循环do until
shell补-循环案例-当型循环while和直到型循环do until 循环分类: 类型 含义 应用场景 while循环 当型循环(当满足或不满足) 死循环 循环读取文件或管道内容 do until 循环 直到型循环(一直进行循环直到不满足条件) 很少使用 for 循环 通用 while循环应用场景 ......
【问题解决】unable to do port forwarding: socat not found
问题复现 前阵子应公司要求做华为云平台的调研,写了一篇文档包含将华为云CCE下载kuberctl配置及使用kubectl转发流量到本地的操作。 今天一早上同事就发来一个错误界面,说是Java远程调试转发过来的端口出现问题,如下图: 处理思路 最初以为是容器镜像未安装socat所致,安装重新打镜像后问 ......
16.What are the basic elements of an argument according to Toulmin Model? How do you evaluate evidences with the intellectual standards?
Round 1: Understanding the Basic Elements of Toulmin Model Speaker 1 (Student A): Hello, everyone! Let's start by discussing the basic elements of the ......
14.Do you have a tentative plan for you reading and/or research writing project for this semester? Create a timetable with specific goals, objectives, ways to realize them and timelines.
Round 1: Discussing the Importance of a Tentative Plan Speaker 1 (Graduate Student A): Greetings, everyone. Today, our topic revolves around having a ......
13.How do you understand the statement: Clear thinking is the key to clear writing? 你如何理解这句话:清晰的思维是清晰写作的关键?
Round 1: Interpreting "Clear Thinking is the Key to Clear Writing" Speaker 1 (Analyst A): Greetings, everyone. Our topic today is the statement, "Clea ......
12.How do you understand the three “C”s(Concise,Clear & Coherent)in an academic Abstract writing?Why are they so important and worthy of a careful study?
Round 1: Understanding the Three "C"s in Academic Abstract Writing Speaker 1 (Researcher A): Greetings, everyone. Today, we're delving into the signif ......
学C笔记归纳 第九篇——分支循环语句3_for_while_do while(附九九乘法表解析和三种方式实现)
基础语法模版: while(1 条件控制语句) { 2 语句序列; } 顺序:12 12 12....2 1 do { 1语句序列; } while(2 循环控制表达式); 顺序:12 12 12....1 2 for(1 初始化表达式;2 条件控制语句;4 调整表达式) { 3 语句序列; } 顺 ......
found character '@' that cannot start any token. (Do not use @ for indentation)
Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token found character '@' that cannot start any token. (Do not use ......
gerrit 反向代理从 apache 换成 nginx 之后项目页报错“The page you requested was not found, or you do not have permission to view this page”
每次配置 gerrit 需要用反向代理来实现auth_basic_user_file,以前用apache 进行配置,但不喜欢 apache 要换成 nginx,结果换成 nginx 之后,登录后打开project页报错“The page you requested was not found, or ......
神经网络入门篇:深度学习和大脑的关联性(What does this have to do with the brain?)
深度学习和大脑的关联性 开始讲故事(手动狗头) 深度学习和大脑有什么关联性吗? 关联不大。 那么为什么会说深度学习和大脑相关呢? 当你在实现一个神经网络的时候,那些公式是你在做的东西,你会做前向传播、反向传播、梯度下降法,其实很难表述这些公式具体做了什么,深度学习像大脑这样的类比其实是过度简化了我们 ......
Java 开发的概念和分层 DTO、TO、VO、PO、DO、BO、AO、DAO、POJO
POJO POJO(Plain Ordinary Java Object) POJO 专指只有 setter/getter/toString 的简单类,包括 DO/DTO/BO/VO Bean 就是符合规约的 POJO AO(Application Object) AO(Application Ob ......
java基础学习:do-while循环
1. package com.itheima.loop; public class Dowhile1 { public static void main(String[] args) { int i=0; do{ System.out.println("1"); i++; }while (i<3); ......
阿里巴巴Java开发手册中的DO、DTO、BO、AO、VO、POJO定义
常用文件夹分层 pojo vo:与前端交互的所有对象,包括接参和返回 query:查询的筛选条件,前端传参和后端内部传参通用 dto:后端内部传参专用 分层缘由 分层领域模型规约: DO:数据对象,与数据库看表结构对应。 DTO:数据传输对象,业务层向外传输对象 BO:业务对象,由业务层输出的业务逻 ......