主页备份

· · 个人记录

Game

打表,指将题目中所要求的值自行算出,存到数组中,
输入后经过判断直接输出数组中的值,时间复杂度为O(1)。 
方便快捷而又简单高效,是OI中的不二之选。                  

                            ——frank·chee(沃兹·基朔德)

模板:


/**
 * 题目名称:
 * 题目链接:https://www.luogu.com.cn/problem/
 * 做题时间:2025 年 10 月  日
 * 考查内容:
 * 难度评级:
 * 主要思路:
 * 注意事项:
 **/
#include <iostream>
#define int long long

using namespace std;

signed main() {
    // Happy code!
    ios::sync_with_stdio(false);
    cin.tie(nullptr);

    return 0;
}
```。