Musical

2 Yarik and Musical Notes

打表找到的规律 #include<bits/stdc++.h> #define int long long using namespace std; const int N=2e5+10; int a[N]; void solve(){ int n; cin>>n; map<int,int>mp; ......
Musical Yarik Notes and

[题解]CF1899D Yarik and Musical Notes

思路 暴力化简公式题。 假定 \(b_{i}^{b_j} = b_{j}^{b_{i}}\) 成立,那么有: \[2^{a_i \times 2^{a_j}} = 2^{a_j \times 2^{a_i}}\\ a_i \times 2^{a_j} = a_j \times 2^{a_i}\\ \ ......
题解 Musical 1899D Yarik Notes

CF1899 D Yarik and Musical Notes 题解

Link CF1899 D Yarik and Musical Notes Question 给出一个序列 \(a\) ,我们定义 \(b_i=2^{a_i}\) 求 \(b_i^{b_j}=b_j^{b_i} (i<j)\) 的个数 Solution 考虑化简式子 \[\begin{aligned ......
题解 Musical Yarik Notes 1899

Shorter Musical

......
Shorter Musical
共4篇  :1/1页 首页上一页1下一页尾页