Android P HIDL demo code writing (original)
Previous articles have analyzed the registration and invocation of HIDL service, and this article summarizes how to writ...
LOJ ා 115. Upper and lower bound feasible flow of passive sink
#115. Passive sink has upper and lower bound feasible flow describe
...
C++ Papers promised me not to go anywhere else if/else?
Learn English one sentence a day and make a little progress every day: "Without purpose, the days would have ended, as ...
BZOJ3170: [Tjoi2013] squirrel Party (Chebyshev distance to Manhattan)
Time Limit: 10 Sec Memory Limit: 128 MBSubmit: 1524 Solved: 803[Submit][Status][Discuss]
...
P3366 minimum spanning tree [template + Kruskal explanation]
The array size of this question is very important
Algorit...
Open source virtual machine Bochs installation and stepping on the pit
Because you want to write a simple operating system, you need to install a virtual machine to simulate the hardware. VMw...
C + + Learning (18) (C language part) pointer 2
Pointer1. Overview of pointers What is the pointer? Pointer is an address is a constant Int int a a is a variable What does the pointer do? Easy to us...
Exception handling in [C + +] 64 μ C + +
C + + exception handling C + + has built-in exception handling syntax element try... Catch try statement handles normal logic code catch statement pro...
bzoj4818 SDOI2017 sequence count
Title Link thinking First of all, consider the scheme number of violence \ (dp \), \ (f[i][j] \) represents the number of first \ (I \), the sum of nu...
The usage of c/c + + overloaded operator standard library function
The usage of overloaded operator standard library function Question: is int(int, int) a common type?? For example, function: int add(int a, int b); Fo...
#The way to brush questions with leetcode 40 combination sum II
Given an array candidates and a target number target, find out all combinations of candidates that can make numbers and targets.Each number in candida...
C pointer principle (15)-C pointer basis
Simple C pointer Pointer to integer and pointer to pointer myhaspl@myhaspl:~ % vim test1.c #include <stdio.h> int main(void){ int x; x=128; int...
Echo server C + + 4-UDP connect version
Calling the connect function for a UDP socket does not establish a connection with the UDP socket of the other party, but registers the destination IP...
[tree cover] [learning notes]
thought Tree cover tree, like his name, is a tree cover another tree. Use an outer tree to maintain something like intervals. Then each node of the ou...
LOJ Chen 6030. "Yali training 2017 Day1" matrix (greedy construction)
meaning of the title link Sol I don't know how to make the series It is not difficult to observe several properties: The best strategy must be to...
Dictionary and hash table to implement Redis source code
Through the study of "Redis design and implementation", I intend to implement a "Redis source code" as my own learning record. Stu...
Luogu P3346 [ZJOI2015] fantasy land favored by gods (generalized suffix automata)
meaning of the title Title Link Sol Board questions of generalized SAM. First, if the leaf node is no more than 20, then the subtree whose root is eac...
Reconstruction of P4198 building in Luogu (line section tree)
meaning of the title Title Link Sol Don't ask me why I sent it twice just to cheat traffic The line tree method of this question is very wonderfu...
[C + +] 42 μ type conversion function
Question:Can class types be converted to normal types? #include <iostream> using namespace std; class Test { }; int main() { Test t; int i = 0; ...
A detailed explanation of Z-arrangement (C + +)
A detailed explanation of the problem of zigzag arrangement (C + +): Problem Description: given a matrix matrix, output the content of matrix after Z-...
Luogu P3246 [HNOI2016] sequence (offline differential tree array)
meaning of the title Title Link Sol It seems that a different method has been worked out from the solution of the question (however, it still exploded...
Logu P4063 [JXOI2017] series (dp)
meaning of the title Title Link Sol It's not hard to think about this problem, but it's very troublesome to write, and then I went to look a...
Logue P4424 [HNOI/AHOI2018] treasure hunt game (thinking problem)
meaning of the title Title Link Sol Fairy question Orz Orz zbq searches 70.. Consider the nature of "and" and "or" \(0 \& 0 = ...
X264 application engineering
In the next few blogs, learn the implementation process of X264. The analysis of source code refers to Raytheon's blog, thank you Raytheon! Blog ...
PCL uses RANSAC to fit segmentation plane by itself
Using PCL segmentation algorithm pcl::SACSegmentation<pcl::PointXYZ> seg; , do not use the normal parameters, only get the segmentation patch ac...
Luogu - P1018 product maximum problem solution
Original text: https://www.luogu.org/problemnew/solution/P1018?page=7 Title: P1018 [maximum product] Preface: In theory, the positive solution of this...
C + + -- initialization list
Q: is the definition of the following program class legal? #include <iostream> using namespace std; class Test { private: const int ci; public:...
[NOI2006] network charge
An interesting question for thieves. Think about converting the cost into something. Watch If we define the state of leaf node ,}, the state of non le...
Traversal of P3961 graph in Luogu
Source of topic There are many ways to do this problem. I'll just mention one here It's the Archmage. Reverse edge building can be used, sta...
HDU2023 average - biaobiao88
Title Link: http://acm.hdu.edu.cn/showproblem.php?pid=2023 Average performance Problem Description Suppose that there are n (n < = 50) students in ...