Day24_2014 days of the 24th day – object-oriented three major features, duck types, class constraints, depth analysis of Super

day24 Three Object-Oriented Features Inheritance, encapsulation, polymorphism Encapsulation: Put a bunch of things (code, data) in one place (space), and you can use it

class Student: def __

What is it in the 2019 South China University of Technology? Is there any empty? Can you come to alchem? (Thinking of thinking)

https://ac.nowcoder.com/acm/contest/625/B

Analysis:

All status is only 1<< 18, so we can preprocess f[u][j], and then build a state diagram of all the states that u can transfer;