Finals [Online Mirror, Div. 1] G.AI robots

... Description There are n robots, each with three parameters: xi, ri, qi Define a robot i to see another robot j as: Xi - ri <= xj <= xi + ri. Now you can see each other, and the qi difference does not exceed k, you can talk, Ask how many pairs can talk. Sample Input 3 2 3 6 1 7 3 1...


Airline VIP customer inquiry

... 7-13 Airline VIP customer inquiry (25 points) Many airlines will provide preferential membership services. When a customer's flight mileage reaches a certain amount, the mileage can be used. Points can be redeemed directly for award tickets or reward upgrades. Now give the flight...


The 2019 Autumn Campus Recruitment Summary

... 秋招 basically ended, did not get BAT, TMDJ's offer, got a few other companies that are also called the name, it is not bad. Non-class origin, C++, data structure, algorithm, database have not learned, can not enter the Internet big factory, 唉~ Students who want to enter these big...


hihoCoder #1831 : 80 Days[Thinking Queue]

... 描述 80 Days is an interesting game based on Jules Verne's science fiction "Around the World in Eighty Days". In this game, you have to manage the limited money and time. Now we simplified the game as below: There are n cities on a circle around the world which are numbered from 1 to n by...


Remember a winger client (C++) intern interview

... first blog, but also the first time to write a blog, it is not a very full interview to remember. Overall, it should not be difficult, it is quite simple. After going there, fill out an information form, then hr will come over and let you do a set of test papers, multiple choice...


Python study notes

... C++Notes 一: Loop statement 1, if statement while loop do while statement %: take the remainder; /: take商 for statement 巢循环 二, function 1, function definition: describe a module's algorithm in C++. function parameter: Calculate the required condition function return value: the result of...


C++ learning processing data (below)

... 1.C++ Added char16_t and char32_t. The former is unsigned, 16 bits long, while the latter is unsigned, but is 32 bits long. The prefixes u and U indicate that the character literal type is char16_t and char32_t type char16_t ch1=u'q'; char32_tch2=U'\U0000222B'; 2.bool type. The value of...


Anthem of Berland AC automaton or KMP DP

... 题意: Give you a string S with a string, and a string T, ask how many times T can be matched after replacement? Can overlap matches. 题解: This is definitely DP. How is DP? AC There are a lot of DP problems on the automaton. This can also be done with an AC automaton. dp[i][j] indicates the...


Acm 2018 Beijing Network Game B title

... The title of this question is to give nn<=10 strings, the length does not exceed 8, but each of the n strings can form a ring, and then ask these n characters The longest common subsequence of the string My approach is to use bitwise operation traversal. (Zhu Xuechang wants to hit me...


SouceInsight v4 registration machine source code

... The following c++ code can be used to generate the registration code of Source Insight v4.0. Network verification also requires you to patch yourself! ~ #include "stdafx.h" #include <windows.h> Int main() { Byte serial_table[] = { 0x4b, 0x56, 0x39, 0x36, 0x47, 0x4d, 0x4a, 0x59, 0x...