摘要:
一个容斥定理的运用,代码实现感觉有点难理解,不过自己手动模拟一下程序就好了 #include <iostream>#include <cmath>#include <cstdio>using namespace std; typedef long long ll; int fac[100000];/ 阅读全文
摘要:
目前由于Phantomjs已经不维护了,而新版的Chrome(59+)推出了Headless模式 如果继续使用Phantomjs会有以下警告 UserWarning: Selenium support for PhantomJS has been deprecated, please use hea 阅读全文
摘要:
快速排序 #include <iostream> using namespace std;int a[100];int f(int low,int high){ int t=a[low]; while(low<high) { while(low<high && a[high]>=t) high--; 阅读全文