zes's Nest
不定时更新喏。
代码中可能省略了包含 #define int long long 的头。
#define int long long
CF1555F Good Graph CF986E Prince's Problem Luogu P7630 [COCI2011-2012#1] SKAKAC CF1223F Stack Exterminable Arrays Luogu P5439 【XR-2】永恒 CF1753F Minecraft Series
CF1555F Good Graph
CF986E Prince's Problem
Luogu P7630 [COCI2011-2012#1] SKAKAC
CF1223F Stack Exterminable Arrays
Luogu P5439 【XR-2】永恒
CF1753F Minecraft Series
关键思路:逐个满足条件。
先满足第二个条件,将编号从小到大贪心,可以做到距离不超过 111 啥的。
代码中可能没附加 #define int long long。
本文仅是记录一些 ds\text{ds}ds 题做题记录,质量低下。
目录:
Powered by Hexo, theme by Facter