跳到正文

Rain_chr

684254

think twice,code once || At My Wit's End?

这是 2026年10月19日 存档的第 1 版,不是当前版本。查看当前版本

资料、奖项与版本

资料

编号
684254
抓取

奖项

2026 NOI
银牌
2026 NOI 冬令营
银牌

版本

  1. v2当前
  2. v1

光顾着自负,却没有可以实现的计划,也许这就是我初二失败的最大原因吧。

CF 用轻量级卡常方式:

#pragma GCC optimize(“Ofast,no-stack-protector,fast-math”,3)

C++
uint64_t seed=clock();
struct custom_hash {
    static uint64_t splitmix64(uint64_t x) {
        x += 0x9e3779b97f4a7c15;
        x = (x ^ (x >> 30)) * 0xbf58476d1ce4e5b9;
        x = (x ^ (x >> 27)) * 0x94d049bb133111eb;
        return x ^ (x >> 31);
    }

    size_t operator()(uint64_t x) const {
        return splitmix64(x + seed);
    }
};
gp_hash_table<uint64_t,int,custom_hash> a;

DeepSeek 认证+论文研究得到的 xorshift:

C++
ull g(ull x) {
    x ^= sd;
    x ^= x << 33;
    x ^= x >> 55;
    x ^= x >> 7;
    x ^= x << 14;
    return x;
}

网络流

一片绿

初赛备考

高精度

分数类

线段树进阶

异或哈希

大质数表

也许以后有大用

集训队论文

官方比赛出题记(来自一位不认识的退役选手)

多项式模板

集合幂级数全家桶

Trick 总结