In a far away galaxy there are n inhabited planets, numbered with numbers from 1 to n. They are located at large distances from each other, that's why the communication between them was very difficult until on the planet number 1 a hyperdrive was inv…
Polycarpus' Dice time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Polycarp has n dice d1, d2, ..., dn. The i-th dice shows numbers from 1 to di. Polycarp rolled all the dice and the sum of n…
我看PhD by 王垠 前段时间看了一下这些关于 PhD 的负面信息: 一个专门反对读 PhD 的 BLOG 叫“100 Reasons NOT to Go to Graduate School”(下文简称“100个理由”) 哈佛大学教授 William James 的“The PhD Octopus”(写于 1903 年) 斯坦福大学的计算机系博士 Philip Guo 写的书“The Ph.D. Grind”(描述他的 PhD 生涯) 专门讽刺 PhD 生活的系列漫画“PhD Comics”…