摘要:
bzoj1045 bzoj3293 题解 Solution 又是双倍经验题 推导如下: #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=1000001; ll tot,ans; int n, 阅读全文
摘要:
题目 Solution 配对堆优化 d i j k s t r a dijkstra dijkstra Code #include<bits/stdc++.h> #include<ext/pb_ds/priority_queue.hpp> using namespace std; using nam 阅读全文
摘要:
题目 题意: 给定方程 anxn+an−1xn−1+...+a1x+a0=0 a n x n + a n − 1 x n − 1 + . . . + a 1 x + a 0 = 0 ,求出该方程的所有实数解 Solution: 首先对其求导,求出其导函数的所有零点,那么在导函数两个相邻的零点之间,该 阅读全文