摘要: 置换的应用,但对于此题,当中关键的几部还是没理解#include <iostream> #include <cstdio> #include <algorithm> using namespace std; const int maxn=10000+10; int f1[maxn],f2[maxn],vis[100000+10],loc[100000+10]; int main() { int n; cin>>n; int i,j; for(i=0;i<n;i++) { scanf("%d",&f1[i]); l 阅读全文
posted @ 2013-05-04 15:04 LJ_COME!!!!! 阅读(121) 评论(0) 推荐(0)