Day3: Salted Fish Losing Dreams

Nothing in the world can stop me from moving forward unless I debug a water problem for half an hour... 0/40(60?)/0   3403. Standard IO Time Limits: 1000 ms  Memory Limits: 524288 KB  Detailed Limits   Goto ProblemSet Description Xiao X has a great headache when he sees piles of homework. I hope you can help him wi ...

Posted by kester on Sun, 04 Aug 2019 13:43:08 +0200

Thirteen Python Exercises

I. Perfect Cube Write a program to find all quaternions (a,b,c,d) for any given positive integer N (N < 100), so that a^3= b^3 + c^3 + d^3, where a,b,c,d is greater than 1, less than or equal to N. Input a positive integer N (N < 100) and output a perfect cube per line. The output formats are: Cube = a, Triple = b, c, d, where a,b,c,d are ...

Posted by uptime on Sun, 04 Aug 2019 10:45:32 +0200

Super Detailed Talk about Logu P3369 [Template] General Balanced Tree

V1 Strict Disclaimer This part of the content is abstracted from Baidu Encyclopedia and exempted from liability after declaration. V2 Pull and spit Want to experience what despair is? Try this question and make sure you suspect life.QwQ (Big man, please skip) Here is the topic (Super Details) 1 Conceptual View Details click 1.1 Bala ...

Posted by kostasls on Sun, 04 Aug 2019 05:01:49 +0200

lightGBM (Graphic + Theory + Incremental Training Pthon Code + lightGBM Parametric Modulation Method)

Links to the original text: https://blog.csdn.net/huacha__/article/details/81057150 LightGBM is a fast, distributed and high performance gradient lifting framework based on decision tree algorithm. It can be used in sorting, classificati ...

Posted by Cloud9247 on Sat, 03 Aug 2019 15:05:57 +0200

Data Structure | Chapter 8 Finding

(1) Basic concepts of search Static lookup: Find only specific elements or their attributes Dynamic lookup: In addition to the above, there are insertion and deletion operations. Key words: primary keywords, sub-keywords. (2) Sequential Search Method Starting from the last record of the table, the ke ...

Posted by bettydailey on Fri, 02 Aug 2019 07:40:32 +0200

Bubble sorting and optimization

Algorithmic Thought Bubble sort is a typical exchange sort. Exchange sort, as its name implies, is to judge whether it meets the requirements by comparing two elements, and if it fails to meet the requirements, to exchange positions to achieve the purpose of sorting. Bubble sorting names originate from the fact that small (large) elements, like ...

Posted by Sir Jos on Thu, 01 Aug 2019 10:19:12 +0200

DP Test 2 Supplementary Questions

A BZOJVIP 1642 Discription Bessie is a very hard-working cow. She always concentrates on improving her production. In order to produce more milk, she predicted the next N (1 < N < 1,000,000) hours, marked 0. N-1. Farmer John planned M (1 < M < 1,000) milking periods. Each time period has a ...

Posted by PJSheltrum on Wed, 31 Jul 2019 12:07:53 +0200

Python_Process Control and Data Junction Structure

Process Control - --------------------------------------------------------------------------------------------------------------------------------------- Conditional Judgment Grammar: # Single branch if <condition>: <Execution code block> # Multi-branch if <condition1>: <Execution block 1> elif <condition ...

Posted by Devsense on Wed, 31 Jul 2019 10:43:49 +0200

Implementation of Curator Distributed Lock

Before learning about the implementation of Curator distributed locks, it is recommended that steps be taken: Implementation of Distributed Lock Based on ZooKeeper To understand the implementation principle of ZooKeeper API distributed lock. Based on ZooKeeper distributed lock implementation, there ...

Posted by nikbone on Wed, 31 Jul 2019 09:28:58 +0200

Analysis of UDP Data Transferred by python Meteorological Equipment-Notes

Articles Catalogue Background II. Summary of Contents 2.1 Creation of UDP Communication Server ** DUP uses connectionless sockets** 2.2 16-digit data parsing 2.3 File Creation and Data Storage Analysis Background Recently, in a company's equipment, the built-in DTU sends 16-digit data messages ...

Posted by BSlepkov on Wed, 31 Jul 2019 08:06:39 +0200