Xia Liao’s Quest

Xia Liao’s Quest to the frontiers of knowledge. A Snowman’s expedition in Summer.

Algorithm Notebook 2 — Sorting Stu Records: Three Eras of C++

Luogu P1093 — Scholarship link: https://www.luogu.com.cn/problem/P1093 1. Problem Statement There are $n$ Stus, each with three exam scores: Chinese (ch), Math (math), and English (eng). The task is to rank them by the following criteria: Total score — descending (higher is better); Chinese score — descending …...
July 12, 2026 · 10 min · Xia Liao

Algorithm Notebook 1 — High-Precision Arithmetic & Quick Sort

Luogu P1045 — Mersenne Numbers link: https://www.luogu.com.cn/problem/P1045 1. Problem Statement A Mersenne number is an integer of the form $2^P - 1$ where $P$ is prime. Given $P$ ($1000 \lt P \lt 3,100,000$), the task is to compute: The number of decimal digits of $2^P - 1$; The last $500$ decimal digits of...
July 8, 2026 · 17 min · Xia Liao

Inorganic Elemental Notes

This 63-pages document is my first deep dive into $\LaTeX$, and I have made a lot of effort on it, spending a large quantity of time. It is my proudest work in my Freshman year in Hunan University, more than just notes, but a demonstration of my passion for learning and a nick on the road of my professional competence …...
June 6, 2026 · 1 min · Xia Liao

Clayden Ch.1 (Detailed): What is Organic Chemistry?

What is Organic Chemistry? Origins of organic chemistry — from essential oils and alkaloids to the chemistry of carbon How organic chemistry makes sense of the world — odors, drugs, and the nature of Science The five pillars of organic chemistry — structure, theory, mechanism, synthesis, and biochemistry From Essential …...
June 5, 2026 · 3 min · Xia Liao

Clayden Preface and Ch.1: What is Organic Chemistry?

Preface: How to learn Organic Chemistry? We should focus on the following points: Structure determination: Finding the structure of a new organic compound even if we cannot see it. Theoretical part: From the perspective of atoms, electrons, and bonds. Reaction mechanism: How do atoms react with each other? The …...
June 3, 2026 · 1 min · Xia Liao