2012年8月24日

uva10050-罢工

摘要: #include #include using namespace std; int main () { int a[4000], count, b, t, n, p; cin>>t; while(t--) { count = 0; memset(a,0,sizeof(a)); cin>>n>>p; for(int i = 0; i >b; for(int j = b; j <= n; j+=b) a[j] = 1; } ... 阅读全文
posted @ 2012-08-24 13:31 Primo... 阅读(131) 评论(0) 推荐(0)