1506
CF1506D - Epic Transformation
思路 用优先队列模拟 ac代码 #include <bits/stdc++.h> using namespace std; using i64 = long long; const i64 inf = 8e18; typedef pair<int, int> pii; const int N = 5 ......
[Codeforces] CF1506C Epic Transformation
Epic Transformation - 洛谷 算是今天的题目里边思维难度最高的一道了,但是代码真的简单的要死 题意 你有一个长度为 \(n\) 的序列 \(a\),你可以对其进行下列操作: 选择 \(i,j\) 满足 \(*a_i\neq a_j*\) 然后删除 \(*a_i,a_j*\) 两个 ......
CF1506C Epic Transformation
CF1506C Epic Transformation Epic Transformation - 洛谷 算是今天的题目里边思维难度最高的一道了,但是代码真的简单的要死 题意 你有一个长度为 \(n\) 的序列 \(a\),你可以对其进行下列操作: 选择 \(i,j\) 满足 \(*a_i\neq ......