跳到正文

个人记录

NOIP 2024 比赛策略

abensyl约 3 分钟
原文
文章信息与版本

文章信息

发布
2024年11月28日
收录
2025年12月12日
更新
2026年11月16日
篇幅
约 3 分钟

版本

  1. v1当前

NOIP 一等奖名额缩了,而且还要冲三倍队线,所以需要全力以赴。

战术策略

试机时

提前到达考场,进场后只要试机开始,抓紧时间打好以下内容,作为赛前准备:

  1. 对拍程序;
  2. 用于编译运行的 cc.sh;
代码
#!/bin/bash
g++ "$1".cpp -o "$1" -std=c++14 -O2
./"$1"

注意 chmod u+x cc.sh 赋予权限,./cc.sh filename 来运行。

  1. 代码模板,包括但不限于头文件、宏定义、输入输出优化。(最后最好把用于对拍的生成树或者图的代码也写了)

开考前可以考虑把要上的厕所先上了。

代码
/*
!!! read the problem carefully at least twice !!!
!! keep a positive attitude, confident and calm, ur attitude counts!
1. think carefully before u start
2. when debugging, don't output much, firstly read the whole program again
3. balance the loss and get, this is important
4. do all the easy bruteforce first
5. remember to duipai, check the correctness and time.
6. long long, devide zero, array out of range!

at last:
checker the version of the program and put it under the correct folder
check extra output or wrong output of samples 
*/

开题后

先花 1010 分钟,把所有题看一遍,抓紧把签到题打掉,控制在开考 4040 分钟内。

T2 和 T3 有一个有可能当时就可以想到思路,再把题目看一遍,可以先花 2020 分钟把有点思路都题目浅浅想一下。

如果有思路就先写半小时,写出啥是啥,可以适当延长时间至开考 22 小时。

20∼3020\sim 30 分钟打剩下每题的暴力打完,控制在 2∼32\sim 3 小时之内。

想要冲三倍队线至少要过两题,有可能还需要三题。

下面的时间就把剩下的题目满分或者特殊性质给冲了,尽可能冲多一些,要评估代码量和回报,csp 开 T4 明显策略就有一定的错误。

大概还剩 1515 分钟的时候开始检查,收官。-+

结束后

签个字就走吧,自己这么菜,就别跟人讨论了。

静等出分,写游记,有空写题解。

注意事项

和 csp 差不多,直接看这个吧:
CSP 2024 比赛策略。

原文