摘要: 1 #include <bits/stdc++.h> 2 using namespace std; 3 //康托展开求法: 4 //比如2143 这个数,求其展开: 5 //从头判断,至尾结束, 6 //① 比 2(第一位数)小的数有多少个->1个就是1,1*3! 7 //② 比 1(第二位数)小的 阅读全文
posted @ 2017-10-27 22:32 yijiull 阅读(176) 评论(0) 推荐(0)
摘要: 链接:here Car HDU - 5935 精度问题有点迷。。。 不知道为什么用ceil就是过不了。。。 1 #include <bits/stdc++.h> 2 using namespace std; 3 #define LL long long 4 const int maxn = 1000 阅读全文
posted @ 2017-10-27 21:22 yijiull 阅读(140) 评论(0) 推荐(0)