PostgreSQL remote connection, fatal error: No PG_HBA.conf recorded for host “…”, users “…”, database “…”, SSL close

PostgreSQL remote connection method

Sometimes when connecting remotely, it will report Error connecting to the server: fatal error: not used for host “…”, User “…”, database “…”, pg_hba

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;