poj 2677
摘要:
TSP#include<iostream>#include<fstream>#include<cmath>using namespace std;double dp[101][101];int x[101],y[101];double ok(int s,int t){ return sqrt(1.*(x[s]-x[t])*(x[s]-x[t])+(y[s]-y[t])*(y[s]-y[t]));}int n;void read(){// ifstream cin("in.txt"); int i,j,k; while(cin>> 阅读全文
posted @ 2011-06-15 17:33 宇宙吾心 阅读(262) 评论(0) 推荐(0)
浙公网安备 33010602011771号