摘要: 1 #include<stdio.h> 2 #include<string.h> 3 #include<queue> 4 #define MOD(x,y) ((x)%(y)+(y))%(y) 5 using namespace std; 6 7 bool hash[1000][2]; 8 struct node 9 { 10 int dist,modk,modm; 11 char opt; 12 }father[1000][2]; 13 int n,k,m,m_k,n_m; 14 15 void print(node cur,int cnt) 16 ... 阅读全文
posted @ 2012-11-13 22:02 kiwi_bird 阅读(488) 评论(0) 推荐(0) 编辑