• 蒟蒻の模板

    蒟蒻 Rainbow-Automaton 的模板 备战 只是目前会的 然而目前啥也不会… 代码注意事项 不要使用using namespace std; min 和 max 都可以直接 std::min std::max 吧 关同步 #define fastread std::ios_sync_with_stdio (false); std::cin.tie (nullptr); ...
  • 警钟敲烂

    做题常见错误记录亿些神奇的错误 警钟敲烂 关于链式前向星 用了链式前向星的题的最后几个点TLE/MLE/RE等等非常神奇的错误,一般都是链式前向星数组开小了! 有多个图时最好把Edge封装成Graph结构体 (要不然会很乱) 1234567891011121314151617struct Graph { struct Edge { int from, to, pre; ...
  • NOIP 2022 游寄

    Here’s something encrypted, password is required to continue reading.

123