D. Strong Vertices

原题链接 题解 很巧妙,把等式移项之后,ab差最大的就是答案 code #include<bits/stdc++.h> using namespace std; #define ll long long struct node { int a,b,df,id; }c[200005]; bool cm
posted @ 2024-05-16 19:27  纯粹的  阅读(3)  评论(0编辑  收藏  举报