摘要: 题意: 给出n个数(n#include #include #include #include using namespace std;const int N = 200500;typedef long long LL;int p[N];int num;bool in[N];int a[N... 阅读全文
posted @ 2014-10-27 20:34 栗子强 阅读(167) 评论(0) 推荐(0) 编辑
摘要: N!具体数值有多少位数字 第一种是暴力的解法,注意,不是本质的暴力,只是相对的暴力: 设K为一个整数N的位数长度,则:K = log(N)+1; eg.3 #includeusing namespace std; int main(){ int n,num,i; double re... 阅读全文
posted @ 2014-10-27 15:55 栗子强 阅读(319) 评论(0) 推荐(0) 编辑