util.h

来自「vrpsd -tabu搜索求解!!!!!!!!!!!!!!!!!!!!!!!」· C头文件 代码 · 共 32 行

H
32
字号
/***************************************************************************                          util.h  -  description                             -------------------       copyright            : (C) 2000 by Christian Blum    last modified        : Nov 2001 by Olivia Rossi-Doria     ***************************************************************************//*************************************************************************** *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU General Public License as published by  * *   the Free Software Foundation; either version 2 of the License, or     * *   (at your option) any later version.                                   * *                                                                         * ***************************************************************************/#ifndef UTIL_H#define UTIL_H#include <vector>using namespace std;double** DoubleMatrixAlloc(int nrows, int ncol);int** IntMatrixAlloc(int nrows, int ncol);long int** LongIntMatrixAlloc(int nrows, int ncol);int binarySearch(vector<int> vect, int n);int sqrt(int);#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?