In order to simplify the whole site and improve reading experience on mobile devices, I shifted to Hugo, themed PaperMod.

introduction

Every time I want to make a change, I always go for something new first —— register a domain name, write a TODOlist, and rebuild the blog with a different technology stack than before. Eventually giving up, with confidence.

I can’t guarantee that it’s just a successful revolution, but I can only say “A new era, here it comes.”

basic functions

codes

15
16
17
18
19
20
21
22
23
24
25
// the Union Check, written by vonhyou, 2016

int getFather(int x) { return fa[x] == x ? x : fa[x] = getFather(fa[x]); }

inline bool querySet(int x, int y) { return getFather(x) == getFather(y); }

inline void mergeSet(int x, int y) {
  int fx = getFather(x), fy = getFather(y);
  if (rank[fx] > rank[fy]) ++rank[fx], fa[fy] = fa[fx];
  else ++rank[fy], fa[fx] = fa[fy];
}

quotes

There will come a day, our brains will catch up with our tools, our wisdom will catch up with our knowledge, and our goals will catch up with our strength. Finally, we will behave like humans.

images

the bridge

formulas

$$ { F_n=\frac{\phi^n - \psi^n}{\phi - \psi} = \frac{\phi^n - \psi^n}{\sqrt5}\\
\phi = \frac{1 + \sqrt5}2\\
\psi = \frac{1 - \sqrt5}2 } $$