codeforces (sort + 01 backpack)

1. Problem Description: Niuniu is playing a CF game. The game time is T minutes. There are N questions. You can submit the code at any time during the game time. The score of question I is maxPoints[i]. The score of question I decreases by pointsPerMinute[i] per minute with the progress of the game. This is a CF game of dark. The score may be ...

Added by colemanm on Sat, 19 Feb 2022 09:32:13 +0200

Introduction to conan: generate conan package from your own project

conan generates conan packages from its own projects Conan is a dependency and package manager for C and C + + languages. It is Free and open source , applicable to all platforms (Windows, Linux, OSX, FreeBSD, Solaris, etc.), and can be used to develop all targets, including embedded, mobile (iOS, Android) and bare metal. It also integrates ...

Added by Zaxnyd on Sat, 19 Feb 2022 09:13:43 +0200

10. Micro service items

Pull hook education PC Station - micro service version - Lao sun 1. Review microservices 1. General Let's first look at how micro services are described in Martin Fowler's paper Microservice is an architecture mode or architecture style. It advocates dividing a single application into a group of small services. Each service runs in its ow ...

Added by webpals on Sat, 19 Feb 2022 09:11:21 +0200

Basic knowledge of Linux - system security and application (teach you how to delete history records and crack passwords violently)

1, Account security control (1) System account cleaning 1. Set the Shell of the non login user to / sbin/nologin usermod -s /sbin/nologin user name 2. Lock accounts that have not been used for a long time usermod -L user name passwd-l user name ------------ lock account passwd-S user name ----------------------------View user status ...

Added by AeonE on Sat, 19 Feb 2022 09:07:04 +0200

Detailed introduction of Linux system service manager Systemd and command systemctl

1, System service manager Systemd Init (short for initialization) is a program used to generate all other processes in Unix and Unix like systems. After the Linux kernel is loaded and started, the first process in user space is init process. The process number of this process is 1, which represents the first running user space process. It ...

Added by soul on Sat, 19 Feb 2022 09:00:26 +0200

100 sets of grade II C operation questions in the national computer grade examination question bank (the 82nd set)

Set 82: In the given program, the function of the function fun is to find out the integer in which the sum of the upper digits of all integers between 100 and 999 (including 100 and 999) is x (x is a positive integer), and then output it; The number of qualified integers is returned as the function value. For example, when the x value is 5, th ...

Added by irandoct on Sat, 19 Feb 2022 08:57:09 +0200

C3P0 chain analysis

C3P0 chainC3P0?C3P0 is a connection pool component of JDBCJDBC: "JDBC is the abbreviation of Java DataBase Connectivity. It is the standard interface for Java programs to access databases. When using Java programs to access the database, the Java code does not directly access the database through TCP connection, but through JDBC interface ...

Added by Hepp on Sat, 19 Feb 2022 08:54:28 +0200

Software management in linux system

System version: rhel8 two Package name format thunderbird-31.2.0-1.el7.x86_64.rpm Software name: thunderbird Software version: 31.2.0 Software license agreement version: el7 Software architecture: x86_ sixty-four Software type suffix: rpm rpm command management package rpm -ivh #Installation parameter combination - i install -v verbo ...

Added by opencombatclan on Sat, 19 Feb 2022 08:53:38 +0200

You understand map, set, array in js. From ()

1. Use of Map objects in Js (new in es6) Map objects hold key/value pairs, which are collections of key/value pairs. Any value (object or original value) can be used as a key or a value. The Object structure provides a string-value correspondence, and the Map structure provides a Value-Value correspondence. Map is the structure of a set of ke ...

Added by sdaniels on Sat, 19 Feb 2022 08:42:10 +0200

Rich second generation of Java inheritance relationship and his father

First, you need to know some definitions of inheritance. Briefly, but be sure to remember: In the concept of inheritance, there are subclasses and superclasses. The superclass is also called superclass or base class, and the subclass is also called derived class (don't change the word to be silly)Inheritance is for subclass objects to have the ...

Added by thewooleymammoth on Sat, 19 Feb 2022 08:37:44 +0200