This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
MGraph是用邻接矩阵实现的图存储结构。 | |
Dijkstra算法求最短路径。 | |
*/ | |
#include <stdio.h> | |
#include <stdbool.h> | |
#include <stdlib.h> | |
#include <string.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
#-*- coding:utf-8 -*- | |
''' | |
连接数据库,查询表信息,生成markdown文档内容 | |
''' | |
from __future__ import print_function | |
import mysql.connector | |
import getpass |
NewerOlder