上一页 1 2 3 4 5 6 ··· 37 下一页
摘要: #includeusing namespace std;typedef long long ll;int g[60][60],in[100],n,m;void dfs(int t){ int i; for(i=1; iusing namespace std;typedef... 阅读全文
posted @ 2015-09-16 14:28 xryz 阅读(112) 评论(0) 推荐(0) 编辑
摘要: #includeusing namespace std;typedef long long ll;struct data{ int x,c,t;}b[10000+5];int cmp(data n1,data n2){ return n1.xl) printf("Fell... 阅读全文
posted @ 2015-09-15 21:31 xryz 阅读(105) 评论(0) 推荐(0) 编辑
摘要: #includeusing namespace std;long long x1,t,ans,m,c[1000000+5];int main(){ int i,n; while(~scanf("%d",&n)) { m=0; c[0]=... 阅读全文
posted @ 2015-09-14 18:48 xryz 阅读(98) 评论(0) 推荐(0) 编辑
摘要: import java.math.BigInteger;import java.util.Scanner;public class Main { public static void main(String[] args) { // TODO Auto-gener... 阅读全文
posted @ 2015-09-13 16:47 xryz 阅读(124) 评论(0) 推荐(0) 编辑
摘要: import java.math.BigInteger;import java.util.Scanner;public class Main { public static void main(String[] args) { // TODO Auto-gener... 阅读全文
posted @ 2015-09-13 16:25 xryz 阅读(97) 评论(0) 推荐(0) 编辑
摘要: #includeusing namespace std;const int N=150000+5;struct node{ int v,id; char s[200+5]; friend bool operator n2.id; return n1.v... 阅读全文
posted @ 2015-09-13 15:34 xryz 阅读(99) 评论(0) 推荐(0) 编辑
摘要: #includeusing namespace std;int main(){ int _,i,n,a[1024],m,r,l,ans; scanf("%d",&_); while(_--) { scanf("%d",&n); fo... 阅读全文
posted @ 2015-09-13 15:32 xryz 阅读(143) 评论(0) 推荐(0) 编辑
摘要: #includeusing namespace std;const int N=10000+5;typedef long long ll;struct Edge{ int u,v,use;};vectoredge;vectorg[N];int n,m,a[N],in[N],cn... 阅读全文
posted @ 2015-09-13 15:31 xryz 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 根据规则可以看出来就是n的卡特兰数乘二import java.math.BigInteger;import java.util.Scanner;public class Main{ public static void main(String[] args) { ... 阅读全文
posted @ 2015-09-12 23:20 xryz 阅读(185) 评论(0) 推荐(0) 编辑
摘要: import java.math.BigInteger;import java.util.Scanner;public class Main { /** * @param args */ public static void main(String[] a... 阅读全文
posted @ 2015-09-12 16:41 xryz 阅读(81) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 37 下一页