lover
CF1912L LOL Lovers
题目传送门 题目大意 给定一个长度为 \(n\) 的、只有 O 和 L 组成的字符串,求出一个 \(i\),使得 \(i\) 左侧和右侧 O、L 的数量互不相等且每侧至少有一个 O 和一个 L。 思路 注意 \(n\) 的范围是 \(2 \le n \le 200\),数据范围很小,暴力的时间复杂度 ......
JLR DOIP VCI SDD Pathfinder Interface: The Best Choice for Jaguar Land Rover Lovers
If you are a Jaguar Land Rover (JLR) enthusiast, you must be familiar with the importance of having the right diagnostic tool at hand. In this blog po ......
CF613E Puzzle Lover 思考--zhengjun
题很简单,一遍写对却比较困难。 犯的错误: - 预处理 ${base}^i$ 时应该要处理到 $\max\{n,m\}$; - 去重的时候(reduce 函数)特判 $m=1,2$。 ### 代码 ```cpp #include using namespace std; using ll=long ......