上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: /*ID:billat11LANG:CTASK:namenum*/#include<iostream>#include<cstdio>#include<cstdarg>#include<stdlib.h>#include<cstring>#include<cmath>using namespace std;const int Len=402;//int 6int c[Len+1],d[Len+1];int xiao[Len+1],cf=0;void addz(int a[],int b[]) { memset(c,0,si 阅读全文
posted @ 2012-06-06 21:25 wuzhibin 阅读(275) 评论(0) 推荐(0)
摘要: /*ID:billat11LANG:CTASK:namenum*/#include<iostream>#include<cstdio>#include<cstdarg>#include<stdlib.h>#include<cstring>using namespace std;int b[1005],c[1005];char bs[1005];void fun(char *tmpb){ int lenb; lenb=strlen(tmpb); memset(b,0,sizeof(b)); for(int i... 阅读全文
posted @ 2012-06-06 21:24 wuzhibin 阅读(395) 评论(0) 推荐(0)
摘要: /*ID:billat11LANG:CTASK:namenum*/#include<iostream>#include<cstdio>#include<cstdarg>#include<stdlib.h>#include<cstring>#include<cmath>using namespace std;const int Len=120;//int 6int c[Len+1];int all[600][Len+1];void add(int a[],int b[]) { memset(c,0,sizeof(c)); f 阅读全文
posted @ 2012-06-06 21:24 wuzhibin 阅读(253) 评论(0) 推荐(0)
摘要: /*ID:billat11LANG:CTASK:namenum*/#include<iostream>#include<cstdio>#include<cstdarg>#include<stdlib.h>#include<cstring>using namespace std;int main(){ int n; int a[8005]; while(scanf("%d",&n)==1) { memset(a,0,sizeof(a)); a[0]=1; for(int i=2;i<=n;i++) { 阅读全文
posted @ 2012-06-06 21:23 wuzhibin 阅读(197) 评论(0) 推荐(0)
摘要: /*ID:billat11LANG:CTASK:namenum*/#include<iostream>#include<cstdio>#include<cstdarg>#include<stdlib.h>#include<cstring>using namespace std;int main(){ int n,ii; int a[1005],b[1005],c[1005]; char as[1005],bs[1005]; scanf("%d",&n); ii=1; while(ii<=n) { sc 阅读全文
posted @ 2012-06-06 21:22 wuzhibin 阅读(174) 评论(0) 推荐(0)
摘要: /*This Code is Submitted by billforum for Problem 2901 at 2012-05-24 16:25:02*/#include<iostream>#include<stdio.h>#include<string.h>using namespace std;long long cal(long long x,long long b,long long a){ long long c=x,tmp=1; while(b>0) { if(b&1==1) tmp=(tmp*c)%a; ... 阅读全文
posted @ 2012-05-24 16:33 wuzhibin 阅读(145) 评论(0) 推荐(0)
摘要: http://ace.delos.com/usacoprob2?a=5rGlhwmarzs&S=milk2/*ID:billat11LANG:C++TASK:milk2*/#include <iostream>#include <algorithm>#include <cstdio>#include <fstream>#include <assert.h>using namespace std;struct milk{ int s; int e;};struct milk inmilk[5005],outmilk[5005]; 阅读全文
posted @ 2012-05-21 21:23 wuzhibin 阅读(236) 评论(0) 推荐(0)
摘要: View CodeProblem : 2333 ( Assemble ) Judge Status : AcceptedRunId : 5747850 Language : C++ Author : billforumCode Render Status : Rendered By HDOJ C++ Code Render Version 0.01 Beta#include <iostream> #include <algorithm> #include <cstring> #include <stdio.h> using namespace s 阅读全文
posted @ 2012-04-10 21:15 wuzhibin 阅读(340) 评论(0) 推荐(0)
摘要: View CodeProblem : 2037 ( 今年暑假不AC ) Judge Status : AcceptedRunId : 5746559 Language : C++ Author : billforumCode Render Status : Rendered By HDOJ C++ Code Render Version 0.01 Beta#include <iostream> #include <algorithm> #include <stdio.h> using namespace std; const int N=105; struc 阅读全文
posted @ 2012-04-10 19:51 wuzhibin 阅读(308) 评论(0) 推荐(0)
摘要: View CodeProblem : 1789 ( Doing Homework again ) Judge Status : AcceptedRunId : 5740019 Language : C++ Author : billforumCode Render Status : Rendered By HDOJ C++ Code Render Version 0.01 Beta#include <iostream> #include <algorithm> #include <stdio.h> using namespace std; const int 阅读全文
posted @ 2012-04-09 21:11 wuzhibin 阅读(346) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 9 下一页