2013-01-09から1日間の記事一覧
nが100ぐらいまでいくかなー(MLE) nextは行った集合だけを添え字にすればいいよなー(TLE(推測)) orz #include<iostream> #include<algorithm> #include<vector> const int MAX_N = 15, INF = 1 << 24; const double EPS = 1e-10; int ns[16], d[16], cost[16][16], w[16], weight[1<</vector></algorithm></iostream>