USACO
HDACMer
I am from Soochow University
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
USACO 2.1.4
/* ID: weitong4 LANG: C++ TASK: holstein */ #include #include #define v_max 25+5 #define g_max 15+5 int v,g; int a[v_max],b[g_max][v_max]; int ans[v_max],min,res[v_max]; bool vis[v_max];原创 2013-07-25 13:50:39 · 626 阅读 · 0 评论 -
Hamming Codes
/* ID: weitong4 LANG: C++ TASK: hamming */ #include #include #define max 64 int ans[max+5]; int N,B,D; bool ham_dis(int x,int y){ int cnt=0; for(int i=0;i if((x&1)!=原创 2013-07-25 21:05:26 · 617 阅读 · 0 评论
分享