随笔分类 -  杂题

摘要:离散化处理:View Code #include<iostream>#include<cstdio>#include<cstdlib>#include<algorithm>#include<cmath>#include<queue>#include<set>#include<map>#include<cstring>#include<vector>#include<string>#define LL long longusing namespace std;cla 阅读全文
posted @ 2012-07-30 10:29 wutaoKeen 阅读(135) 评论(0) 推荐(0)
摘要:用离散化处理就可以了:View Code #include<iostream>#include<cstdio>#include<cstdlib>#include<algorithm>#include<cmath>#include<queue>#include<set>#include<map>#include<cstring>#include<vector>#include<string>#define LL long longusing namespace st 阅读全文
posted @ 2012-07-30 09:59 wutaoKeen 阅读(125) 评论(0) 推荐(0)
摘要:Perfect Pth PowersTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 14097Accepted: 3192DescriptionWe say that x is a perfect square if, for some integer b, x = b2. Similarly, x is a perfect cube if, for some integer b, x = b3. More generally, x is a perfect pth power if, for some integer b, x 阅读全文
posted @ 2012-07-14 16:38 wutaoKeen 阅读(176) 评论(0) 推荐(0)