2015年10月17日

Codeforces 556A:Case of the Zeros and Ones

摘要: A. Case of the Zeros and Onestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAndrewid the Android... 阅读全文

posted @ 2015-10-17 13:34 光速小子 阅读(213) 评论(0) 推荐(0) 编辑

51nod 1439:互质对 容斥原理

摘要: 1439互质对题目来源:CodeForces基准时间限制:2秒 空间限制:131072KB 分值:160难度:6级算法题收藏取消关注有n个数字,a[1],a[2],…,a[n]。有一个集合,刚开始集合为空。然后有一种操作每次向集合中加入一个数字或者删除一个数字。每次操作给出一个下标x(1 ≤ x ≤... 阅读全文

posted @ 2015-10-17 13:04 光速小子 阅读(474) 评论(0) 推荐(0) 编辑

导航