- 博客(3)
- 收藏
- 关注
原创 山东省acm省赛 D题Swiss-system tournetment
#include #include #include #include using namespace std; struct node{int index,score,rank;}*a=(node *)malloc(sizeof(node)*200005),*b=(node *)malloc(sizeof(node)*200005); int num,r,q,num1[100005]
2016-06-09 15:09:00 357
原创 2016山东省acm省赛 feed monkeys
#include #include using namespace std; typedef long long LL; LL n1,n2,n3,d1,d2,d3; LL b[55][55][55][4],a[4],d[4],c[55][55][55]; const LL mod=1e9+7; LL f(int i,int j,int k) { if(min((i,j),k)
2016-06-06 22:17:21 621
原创 2016山东省acm省赛 G题尼姆博奕
#include #include #include #include using namespace std; long long num[55]; void init() { for(int i=1;i num[i]=num[i-1]*3+1; } long long solve(long long n) { long long cnt
2016-06-06 18:48:35 378
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人