随笔分类 - 杂题
摘要:离散化处理: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
阅读全文
摘要:用离散化处理就可以了: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
阅读全文
摘要: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
阅读全文

浙公网安备 33010602011771号