AcWing 356. Secondary Small Spanning Tree
Title: Given an undirected graph of $N$points$M$bars, find the strictly minor spanning tree of the undirected graph.
Strict Minor Spanning Tree: Set the sum of the edge weights of the minimum spanning tree to $\mathrm{sum}$. Strict Minor Spanning Tree is the smallest spanning tree whose sum of edge weights is greater than $\mathrm{sum}$.
Input ...
Posted by EY on Tue, 30 Nov 2021 14:07:41 -0800
Practice of uboot transplantation of Mini440
1, u-boot process
1.1 u-boot flow chart drawing
In previous blogs, we have analyzed the source code of u-boot. So let's try to connect what we introduced in the previous sections. Draw a u-boot startup flowchart:
2, Steps of u-boot migration
Since we want to transplant u-boot, we first need to understand the startup process of u-boot. U-boot m ...
Posted by assafbe on Tue, 30 Nov 2021 13:53:45 -0800
Dynamic programming -- Digital triangle model
1, Foreword
AcWing algorithm improves the content of the course. This paper explains dynamic programming lesson 1: mathematical triangle model
This article includes the following topics: AcWing 1015. Picking flowers AcWing 1018. Minimum toll AcWing 1027. Grid access AcWing 275. Pass note
Where are the imperfections or expression errors ...
Posted by xsgatour on Tue, 30 Nov 2021 13:46:42 -0800
SpringBoot Foundation: declarative transactions and faceted transactions and programmatic transactions
preface
Transaction is one or more database operations that need to ensure atomicity, isolation, consistency and persistence at the same time
This article will explain the implementation methods of two transactions in springBoot, programming transaction configuration and declarative transaction configuration, as well as aspect transactions. O ...
Posted by Skyphoxx on Tue, 30 Nov 2021 13:34:46 -0800
Spring Bean lifecycle and callbacks
1. Introduction
Understand the Spring bean life cycle of Spring container management, including the understanding of Spring container and IoC. Understand both the Spring bean lifecycle callback handler and the postprocessor. The Spring Framework provides several callback methods to create beans and some methods to destroy beans in the Spring I ...
Posted by mlai4167 on Tue, 30 Nov 2021 13:25:24 -0800
Usage demo of thread pool ThreadPoolExecutor
1. Example code: Runnable + ThreadPoolExecutor
First create a
Runnable
Implementation class of interface (of course, it can also be
Callable
Interface. We also mentioned the area of the two above
Don't
MyRunnable.java
import java.util.Date;
public class MyRunnable implements Runnable {
private String command;
...
Posted by sharal on Tue, 30 Nov 2021 13:22:58 -0800
pygame game development | ice and snow hero club for game development and design of China Computer Design Competition (with source code)
It is not easy to be original. Plagiarism and reprint are prohibited in this paper. Based on the summary of many years of practical development experience of reptiles, infringement must be investigated!
1, Game creativity and setting
1.1 game creativity
The game takes the 2022 Zhangjiakou Winter Olympic Games as the creative background. The ...
Posted by StathisG on Tue, 30 Nov 2021 13:20:44 -0800
Summary of interview high frequency ~ single linked list OJ questions
1. Force buckle 141: ring linked list
Give you a head node of the linked list to judge whether there are links in the linked list. If there is a node in the linked list that can be reached again by continuously tracking the next pointer, there is a ring in the linked list. In order to represent the rings in a given linked list, the eval ...
Posted by Lateuk on Tue, 30 Nov 2021 13:11:01 -0800
Go Module: how to solve the reference problem of private non compliant Library
Original text: https://mp.weixin.qq.com/s/Q28LwtYfU7KH_Zy0VbHvOA
https://zhuanlan.zhihu.com/p/420764860
----------------------
Hello, I'm polarisxu.
A friend asked a question:
Netizen consultation
In actual projects, when using Go Module, it is inevitable to have some own libraries to reference. These libraries are managed by self built Gi ...
Posted by kitegirl on Tue, 30 Nov 2021 13:07:49 -0800
Part II network programming -- HTTP application programming
We are most familiar with HTTP when learning network programming. Well, let's start with HTTP. First of all, we must understand the basic principles and actions of HTTP. Mastering the working principle of HTTP to a certain extent is very helpful for our following learning.1: Working mode ① : establish a reliable TCP connection be ...
Posted by rowantrimmer on Tue, 30 Nov 2021 12:44:09 -0800