【题解】洛谷P2312[NOIP2014]解方程 枚举+数学知识

题目链接 枚举答案x,计算上面那个式子的值,可以选择边算边模( 某个八位质数),免得打高精,一般不会死。 #include<cstdio> #include<vector> using namespace std; const int mod=19260817,M=1e6+10; typedef long long ll; template<typename tp>inline void read
相关文章
相关标签/搜索