摘要:
1 #include 2 #include 3 using namespace std; 4 struct node 5 { 6 int d; 7 int fish; 8 int ans; 9 };10 node a[30],b[30];11 int t[30];12 in... 阅读全文
posted @ 2014-12-11 22:46
NicoleLam
阅读(115)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 #include 4 using namespace std; 5 const int INF=0xfffffff; 6 struct node 7 { 8 int b,p; 9 };10 node a[110][110];11 int m[... 阅读全文
posted @ 2014-12-11 22:45
NicoleLam
阅读(129)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 #include 4 using namespace std; 5 struct node 6 { 7 int st,ed; 8 }; 9 node a[10010];10 11 int n,L,ans,pre;12 13 bool cmp(... 阅读全文
posted @ 2014-12-11 22:43
NicoleLam
阅读(133)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 struct node 7 { 8 double right,left; 9 };10 node a[1010];11 int ans,n,d;12 b... 阅读全文
posted @ 2014-12-11 22:41
NicoleLam
阅读(109)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 #include 4 using namespace std; 5 struct node 6 { 7 int value; 8 int ddl; 9 };10 node a[10010];11 bool day[10010];12 ... 阅读全文
posted @ 2014-12-11 22:39
NicoleLam
阅读(108)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 #include 4 using namespace std; 5 struct node 6 { 7 int st; 8 int ed; 9 };10 node a[110];11 int n,ans;12 bool cmp(nod... 阅读全文
posted @ 2014-12-11 22:38
NicoleLam
阅读(100)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 #include 4 using namespace std; 5 int n,ans; 6 struct node 7 { 8 int score; 9 int ddl;10 };11 node a[1010];12 bool da... 阅读全文
posted @ 2014-12-11 22:36
NicoleLam
阅读(110)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 using namespace std; 4 int n,ans,v,t; 5 int main() 6 { 7 scanf("%d",&n); 8 while (n!=0) 9 {10 ans=0x7ffff... 阅读全文
posted @ 2014-12-11 22:34
NicoleLam
阅读(131)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 #include 4 using namespace std; 5 int m,n,lose,x; 6 bool flag[1010],v[1010]; 7 bool cmp(int a,int b) 8 { 9 return a>b;10 ... 阅读全文
posted @ 2014-12-11 22:32
NicoleLam
阅读(127)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 #include 4 using namespace std; 5 int n; 6 int tian[1010],king[1010]; 7 bool cmp(int x,int y) 8 { 9 return x>y;10 }11 int... 阅读全文
posted @ 2014-12-11 22:29
NicoleLam
阅读(147)
评论(0)
推荐(0)
摘要:
#include#include#includeusing namespace std;struct node{ int l,w; bool v;};int n;node a[5010];bool cmp(node x,node y){ if (x.l==y.l) return x... 阅读全文
posted @ 2014-12-11 22:28
NicoleLam
阅读(156)
评论(0)
推荐(0)
摘要:
#include#include#includeusing namespace std;long long a[10010];int main(){ int n; scanf("%d",&n); for (int i=1;i<=n;i++) scanf("%lld",&a[i]);... 阅读全文
posted @ 2014-12-11 22:25
NicoleLam
阅读(118)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 using namespace std; 4 5 int main() 6 { 7 int a1,a2,a3,a4,a5,a6; 8 scanf("%d%d%d%d%d%d",&a1,&a2,&a3,&a4,&a5,&a6); 9 ... 阅读全文
posted @ 2014-12-11 22:17
NicoleLam
阅读(128)
评论(0)
推荐(0)
摘要:
#include#includeusing namespace std;int a[220];int cmax(int a,int b){return a>b?a:b;}int main(){ int T; scanf("%d",&T); for (int t=1;tyy) ... 阅读全文
posted @ 2014-12-11 22:12
NicoleLam
阅读(135)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 #include 4 using namespace std; 5 int a[110]; 6 int main() 7 { 8 int n; 9 scanf("%d",&n);10 for (int i=1;i0)15 ... 阅读全文
posted @ 2014-12-11 22:10
NicoleLam
阅读(112)
评论(0)
推荐(0)