[MIT 6.s081] Xv6 Lab 3 (2021): Page Tables Record
Notes on xv6 Lab 3 page tables, including faster system calls, page-table printing, and detecting accessed pages through RISC-V page-table flags.
CF1703 F, G Solutions
Solutions to Codeforces 1703 F and G, covering efficient pair counting and greedy bitwise processing of array operations.
Xv6 Lab 2: System Calls
Notes on xv6 Lab 2 system calls, tracing the syscall path and implementing system-call tracing and sysinfo across kernel interfaces.
CF1702 C, D, E, F Solutions
Solutions to Codeforces 1702 C, D, E, and F, covering position queries, greedy selection, bipartite graph checks, and numeric transformations.
[MIT 6.s081] Xv6 Lab 1: Utilities Record
Notes on xv6 Lab 1 utilities, implementing sleep, pingpong, primes, find, and xargs while practicing Unix processes, pipes, and file descriptors.
Xv6 Notes: Page Tables and Traps
xv6 operating-system notes on page tables, user and kernel traps, interrupts, context switching, scheduling, and synchronization with locks.
A Collection of Notes on Mathematical Algorithms
Notes on number theory including Euclid's algorithm, extended GCD, modular inverses, and linear recurrences, with derivations and code.
CF1699C Solution
Explains the combinatorial counting solution to Codeforces 1699C by expanding the interval containing successive MEX values in a permutation.
C++ Implementation of the Genetic Algorithm in *Complexity*
Implements the genetic algorithm from Complexity in C++, covering genome design, fitness evaluation, selection, crossover, and mutation.
CF1695C Solution
Presents a dynamic programming solution to Codeforces 1695C, deciding whether a right-down path through a ±1 grid can have a total sum of zero.
Collection of Miscellaneous Problems
A reusable collection of programming and environment-configuration problems, with solutions for C++, toolchains, and system setup.
CF1692G Solution
Explains how to count valid subarrays in Codeforces 1692G by tracking adjacent-element constraints and lengths of consecutive valid segments.
![[MIT 6.s081] Xv6 Lab 3 (2021): Page Tables Record](/img/xv6/note/xv6%E4%B9%A6%E5%B0%81%E9%9D%A2.png)






