摘要:
题目链接:http://contesthunter.org/contest/Beta%20Round%20%EF%BC%836%20(%E3%80%8C%E6%80%9D%E8%80%83%E7%86%8A%E3%80%8D%E6%9D%AF%20NOI%E6%A8%A1%E6%8B%9F%E8%B... 阅读全文
摘要:
/************************************************************** Problem: 2120 User: wangyucheng Language: C++ Result: Accepted Time:174... 阅读全文
摘要:
#include#include#include#includeusing namespace std;#define N 60000#define M 50000int mindiv[N];int zhi[N];int zhin;int u[N];void shai(int x){ for(i... 阅读全文
摘要:
#include#include#include#includeusing namespace std;int n,m;#define N 32#define mod 10007LL#define mod2 10000007#define inf 0x3ffffffftypedef long lon... 阅读全文
摘要:
#include#include#include#includeusing namespace std;#define N 110000#define inf 0x3fffffffint n;int e[N],w[N],ne[N],v[N];int nn=0;void add(int x,int y... 阅读全文
摘要:
/************************************************************** Problem: 3203 User: wangyucheng Language: C++ Result: Accepted Time:344... 阅读全文
摘要:
#include#include#include#includeusing namespace std;typedef long long ll;ll n,p;ll k;#define N 4000000ll a[N],fr[N];struct sq{ ll a[3][3]; sq(){... 阅读全文
摘要:
#include#include#include#include#includeusing namespace std;#define N 510000struct P{ int x,y; P(int a=0,int b=0){x=a,y=b;} bool operator=k)retu... 阅读全文
摘要:
#include#include#include#includeusing namespace std;#define N 220000#define inf 0x3ffffffffffffffLLtypedef long long ll;int v[N],e[N],ne[N],nn,w[N];vo... 阅读全文
摘要:
#include#include#include#includeusing namespace std;#define N 110000int e[N],ne[N*2],v[N*2],w[N*2];typedef double dd;int nn;dd dp1[N];void add(int x,i... 阅读全文