码迷,mamicode.com
首页 >  
搜索关键字:nod    ( 6886个结果
bzoj3224: Tyvj 1728 普通平衡树 treap
题目链接“:3224: Tyvj 1728 普通平衡树 题解:treap平衡树模板 ,参考资料, 还有 ...
分类:其他好文   时间:2018-08-03 19:49:44    阅读次数:184
在vue-cli中使用mock.js详解
引包1. npm install mockjs --save-dev2. npm install axios --save(axios使用不再讲) 修改配置3. 在config文件夹下的dev.env.js修改如下 4. 在config文件夹下的prod.env.js修改如下 5. 在main.js ...
分类:Web程序   时间:2018-08-03 18:50:14    阅读次数:690
Liunx环境--Node部署记录
1、看看环境里有没有装Node which node 2、找个目录安装 (1)/usr/local/node/download 执行下载 wget https://nodejs.org/dist/v8.11.1/node-v8.11.1-linux-x64.tar.xz 解压 tar xvf nod ...
分类:其他好文   时间:2018-08-03 18:07:39    阅读次数:111
Apple Tree POJ - 3321 dfs序列构造树状数组(好题)
There is an apple tree outside of kaka's house. Every autumn, a lot of apples will grow in the tree. Kaka likes apple very much, so he has been carefu ...
分类:移动开发   时间:2018-08-03 18:07:31    阅读次数:198
Cows
Farmer John's cows have discovered that the clover growing along the ridge of the hill (which we can think of as a one-dimensional number line) in his ...
分类:其他好文   时间:2018-08-02 22:42:15    阅读次数:194
C语言实现栈(顺序存储方式)
#include #include //提供malloc()原型 #include //提供true false原型 #define MaxSize 10 #define ERROR -1 typedef struct SNode *Stack; typedef int ElementType ; ... ...
分类:编程语言   时间:2018-08-02 01:58:56    阅读次数:188
tarjan求lca 模板
#include #include #include #include #include #include #include #include #include #include #include #define rap(i, a, n) for(int i=a; i #define mem(a, ... ...
分类:其他好文   时间:2018-08-02 01:47:03    阅读次数:106
htmlunit+fastjson抓取酷狗音乐 qq音乐链接及下载
上次学了jsoup之后,发现一些动态生成的网页内容是无法抓取的,于是又学习了htmlunit,下面是抓取酷狗音乐与qq音乐链接的例子: 酷狗音乐: 运行结果: qq音乐抓取实例: 运行结果: 相比之下,酷狗音乐相对好爬一些,QQ音乐有些繁琐。。。 ...
分类:Web程序   时间:2018-08-02 00:08:51    阅读次数:242
linux 下node.js 安装
1、在官网查看版本,LTS代表长期支持的版本 2、进入服务器 3、输入命令:·wget https://npm.taobao.org/mirrors/node/v8.9.3/node-v8.9.3-linux-x64.tar.xz ·xz -d node-v8.9.3-linux-x64.tar.x ...
分类:Web程序   时间:2018-08-02 00:04:18    阅读次数:207
bzoj4144 [AMPPZ2014]Petrol
link 题意: 给一个n个点m条边的带权无向图,其中k个点是加油站,每个加油站可以加满油,但不能超过车的油量上限。有q个询问,每次给出x,y,b,保证x,y都是加油站,问一辆油量上限为b的车从x出发能否到达y? $n,m,s,q\leq 2\times 10^5.$ 题解: 只有加油站是有用的点, ...
分类:其他好文   时间:2018-08-01 22:18:30    阅读次数:172
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!