Problem Solution of [NOIP Simulated Test 9] (Combination Number of Buckets + dp)

I don't want any of Dagger's handouts. I feel like I'm a real bull. $type=0:$ Similar to the visit question, the direct formula for enumerating the steps of lateral movement is derived. $ans=\sum C_n^i \times C_i^{\frac{i}{2}} \times C_{n-i}^{\frac{n-i}{2}},i%2=0$ $type=1:$ Because we can't touch the negative half-axis, we can think of the ...

Posted by sdlyr8 on Tue, 30 Jul 2019 14:45:31 -0700

Analysis and Implementation of Three-chess-C Language

As a classic game, Sanziqi is very helpful for us to learn C language more systematically in the future if we can understand and realize its game function skillfully. Let me share my experience and code in programming. First of all, introduce the rules of tri-chess: as long as you connect your own chess into a line (row, column, diagonal), tha ...

Posted by isedeasy on Tue, 30 Jul 2019 05:14:30 -0700

Leetcode Question 2 Two-Number Addition C Language Edition

Because of the clever operation of the counselors in our institute (yes, the Brother College of Communications and Communications). (We are required to brush the button without learning the data structure.) I plan ahead of time, because I have learned a little knowledge of the list by myself, so I want ...

Posted by mariocesar on Sun, 28 Jul 2019 01:50:28 -0700

C++ Basic Learning Notes - Lesson 4 (Function Overloading, C++ and C++ Mutual Call)

Links to the original text: http://www.cnblogs.com/riasky/p/3455584.html This section mainly talks about the main concepts of function overloading and its usage, as well as the criteria of C and C++ calling each other and the specific e ...

Posted by quark76 on Sat, 27 Jul 2019 08:30:21 -0700

C - Simple Thread Pool Based on pthread Implementation

threadpool-a simple thread pool based on pthread Introduction to Thread Pool Thread pool can be said to be a component that is often used in projects. It is assumed that the reader has a certain multithreading foundation. If not, it is better to understand it here: POSIX multithreading foundation. What is a thread pool? My simple understanding ...

Posted by om.bitsian on Fri, 19 Jul 2019 23:06:20 -0700

Hand-in-hand teaching you how to implement custom application layer protocols

1. Brief introduction Internet is full of all kinds of network services. When providing network services to the outside world, the server and the client need to follow the same set of data communication protocols in order to communicate normally; just like you communicate with Taiwanese in Minnan and Cantonese in Cantonese. When implementing i ...

Posted by SuperTini on Wed, 17 Jul 2019 17:51:53 -0700

Connection Query of Database

Join query: If a query involves two or more tables, it is called join query. Join queries can be divided into: Equivalent connection Non-Equijoin Natural Connection Self-connection External connection Compound Conditional Connection The following routines are exemplified by the following three tables: CREATE TABLE Student ( Sno IN ...

Posted by tang on Tue, 16 Jul 2019 15:07:31 -0700

Runtime Learning Notes

Introduction to runtime RunTime is short for runtime. OC is the runtime mechanism, that is, some mechanisms at runtime, the most important of which is the message mechanism. For C language, the call of a function will decide which function to call when compiled. For OC function, it belongs to dynamic calling process. It can not decide which fu ...

Posted by pokemon on Mon, 15 Jul 2019 17:48:02 -0700

arm-linux kernel boot learning notes (2)

Source: http://blog.csdn.net/lidan113lidan/article/details/46225209 Part3[call_kernel,start_kernel) The kernel jumps to call_kernel, which actually jumps to the ENTRY(stext) tag in. / kernel/arch/arm/kernel/head.S. Before looking at step, I first summarize some address-related macros in the kernel: PHYS_OFFSET PHYS_OFFSET is the ini ...

Posted by vchris on Sun, 14 Jul 2019 17:25:00 -0700

Learn java (1) Basic java grammar from scratch

After a month's naked resignation from the company, the original job was VB, but now I want to be engaged in java. When looking for a job, I always need some project experience, which is somewhat unhappy. All languages have the same experience. General, I don't believe that Java is so difficult? Give yourself time to study. Stick to self-study ...

Posted by darkfreaks on Wed, 10 Jul 2019 11:30:50 -0700