Python solution of group C++B of the 9th 2018 Blue Bridge Cup
A what day
January 1, 2000 is the first day of that year. So, May 4, 2000, is the first day of that year? Note: what needs to be submitted is an integer. Do not fill in any redundant content.
Answer: 125
31+29+31+30+4=125
B clear code
The font of Chinese characters exists in the font library. Even today, the 16 dot matrix font library is s ...
Posted by rbragg on Fri, 25 Feb 2022 14:46:35 +0100
Java TreeSet set, binary tree
1, TreeSet
1. The bottom layer of TreeSet set is actually a TreeMap; At the bottom of the TreeMap set is a binary tree
2. The elements put into the TreeSet set are equivalent to the key part of the TreeMap set.
3. TreeSet set storage element features: unordered and non repeatable, but the stored elements can be automatically sorted in size o ...
Posted by vierme on Fri, 25 Feb 2022 14:33:35 +0100
node.js environment construction and core
1.1 pre content
1.1.1 what is javascript
Concept: it follows ECMAScript standard, is the concrete implementation of ECMAScript, supports browser API,BOM and DOM, and supports node JS API
1.1.2 what is node js
Concept: javascript running environment based on chromev8 engine.
1.2Node.js download and install
Download from official website
1 ...
Posted by fatal on Fri, 25 Feb 2022 14:23:01 +0100
Introduction to vue practice Chapter 3: imitating portal instances from scratch - Implementation of public components
Previous: Introduction to vue practice Chapter 2: imitation portal example from scratch - development framework construction.
Introduction to vue actual combat Chapter 3: imitating portal from scratch-2022-2-24 20:21:45
1, Catalogue
Part I: preliminary preparations
Part II: Construction of development framework
Part III: common compon ...
Posted by greenday on Fri, 25 Feb 2022 14:21:58 +0100
css learning record
CSS usage
External style test.css
h1{
color: red;
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>css External introduction</title>
<!--External lead-in-->
<link rel="stylesheet" href="test.css" type="text/css"/>
</head>
< ...
Posted by ThunderVike on Fri, 25 Feb 2022 14:09:52 +0100
Oracle database statement summary
Introduction and description
Four traditional mainstream databases:
Oracle MySQL SqlServer DB2
Non relational database: Redis MongoDB
The mainstream database is relational database: there is an association relationship between tables
When we say install database, we mean install database service
When creating a database, it refers t ...
Posted by rockobop on Fri, 25 Feb 2022 14:05:34 +0100
Apache Web page optimization for Web Services
I Apache Web page and security optimization
In enterprises, only using the default configuration parameters after deploying Apache will cause many problems in the website. In other words, the default configuration is for the previous lower server configuration, which is no longer applicable to today's Internet era.In order to meet the needs of ...
Posted by Fahid on Fri, 25 Feb 2022 14:04:26 +0100
Master the 24 operations of Collectors in Java8 Stream
Java 8 should be regarded as the main version in the industry. A highly important update in the version is Stream stream processing. There are many contents about Stream processing. This article mainly talks about the use of Collectors tool class in Stream.
Collectors are Java util. A tool class under the stream package, in which the return va ...
Posted by andymoo on Fri, 25 Feb 2022 13:50:09 +0100
springboot aop loading process
1, Create several sections.
package com.tpw.newday.aspect;
import cn.hutool.core.util.ObjectUtil;
import cn.hutool.core.util.StrUtil;
import cn.hutool.json.JSONUtil;
import com.tpw.newday.annation.CacheProcesser;
import com.tpw.newday.common.MyConstants;
import com.tpw.newday.redis.RedisParam;
import com.tpw.newday.redis.RedisService;
import ...
Posted by Mordred on Fri, 25 Feb 2022 13:48:14 +0100
[Python] parsing Xml documents
xml document is nothing more than a tree data warehouse, and there are four basic parts: addition, deletion, modification and query. Parse tree structureRead from hard diskRead from stringNote: XML etree. Elementtree module is not safe when dealing with malicious structure data.from xml.etree import ElementTree
# import data from our dataset
t ...
Posted by RedMaster on Fri, 25 Feb 2022 13:40:30 +0100