摘要:
#include #include #define maxn 1000000 struct node { int q[10]; int fa; int step; }s[maxn]; int data[]={1,2,3,8,0,4,7,6,5}; int h[]={1,1,2,6,24,120,720,5040,40320}; const int dx[]={-1,1,0... 阅读全文
posted @ 2016-10-23 20:39
球痞丶小七
阅读(230)
评论(0)
推荐(0)
摘要:
#include #include const int MAXN=100010; int n,k,cur,ans,cnt[15],j,sum,last; char str[MAXN],curs[MAXN],anss[MAXN]; int abs(int x) { return x>=0 ? x:-x; } int main() { //freopen("number.in",... 阅读全文
posted @ 2016-10-23 20:38
球痞丶小七
阅读(168)
评论(0)
推荐(0)
浙公网安备 33010602011771号