摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3687题目大意:怎么说捏,就是把乱七八糟的队形用最短步数将他们排成矩形,人只能左右动。做法:枚举起点。好像就这些...代码:View Code #include<cstdio>#include<cstdlib>#include<cstring>#include<iostream>#include<algorithm>using namespace std;#define INF 200000int n,m;int map[60][210]; 阅读全文
posted @ 2012-02-28 18:35
Evan1004
阅读(204)
评论(0)
推荐(0)