博客园代码高亮

女生的网名这么多〃 提交于 2020-01-09 03:20:16

博客园代码高亮

void searchPath(int *prev,int v, int u)
{
    int que[maxnum];
    int tot = 1;
    que[tot] = u;
    tot++;
    int tmp = prev[u];
    while(tmp != v)
    {
        que[tot] = tmp;
        tot++;
        tmp = prev[tmp];
    }
    que[tot] = v;
    for(int i=tot; i>=1; --i)
        if(i != 1)
            cout << que[i] << " -> ";
        else
            cout << que[i] << endl;
}

my first hight light code

some useful website:

博客园资料链接
[highlish.js]https://highlightjs.org/
https://www.sioe.cn/yingyong/yanse-rgb-16/
常用makdowny语法
高级语法/语法大全
Markdown基本语法
颜色选择器

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!