正常高中猫一只喵。
你说得对但是正难则反。
procedure solution(auto problem){
if(clock() >= minute_to_millisecond(TIME)){
direction.change();
exit(0);
}
auto core = get_what_I_should_do_according_to(problem);
auto method = how_can_I_achieve(core);
if(method.find(empty()) != method.end()) return method;
auto challenge = hard_part_of(core);
return method + solution(challenge);
}报错码是有意义的:
3221225477 / 3221226356 : 空指针异常(OI 意义下即数组越界)
3221225725 : 栈溢出(检查递归边界)
3221225620 / 255 : 数学错误(除以零了)
常用网站:
- OI-wiki
- CodeForces
- AtCoder
- VJudge
- 白板(不好用但可用)
- 有待发掘…
复习计划:
- dp trick
- dp trick
- 图论建模
- hash 应用
- CDQ 分治(?
- 线段树、树状数组相关 trick
- 二项式反演