// DTW.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <math.h>
#include <iostream.h>
#include <algorithm>
using namespace std;
#include <stdlib.h>
int maxD=100;
bool OK;
int min(int a,int b,int c)
{
if(a<=b&&a<=c) return a;
else if(b<=a&&b<=c) return b;
else return c;
}
int daijia(int a,int b)
{
return (a-b)*(a-b);
}
struct sou
{
int no[100];
int n;
};
int D=0;
int g(int i,int j,sou a,sou b)
本内容试读结束,登录后可阅读更多
下载后可阅读完整内容,剩余3页未读,立即下载