该文被密码保护。 阅读全文
摘要:
说明:本文用 \(\phi\) 表示欧拉函数而不用 \(\varphi\),尽管后者更为常用。\(\DeclareMathOperator{\lcm}{lcm}\) 欧拉函数 \(\phi\colon\mathbb Z_{>0}\to \mathbb Z\) 定义为 \[ \phi(n) = |\{ 阅读全文
摘要:
The void_t idiom in C++ template metaprogramming. 阅读全文
摘要:
A boring technique. 阅读全文
摘要:
一道不那么直白的逆序数计算问题。 阅读全文
摘要:
一个计算连续型随机变量期望的方法。 阅读全文
摘要:
An educational problem of discrete expectation. 阅读全文
摘要:
一道经典的计数问题。 阅读全文