1. 树的存储 typedef struct BiTNode { char data; struct BiTNode lchild, rchild; }BTNode, BTree; 2 .树的创建 void CreateTree(BTree &T) { char ch; cin ch; if(ch= ...
分类:
其他好文 时间:
2019-04-30 20:14:51
阅读次数:
116
function postUrl($url, $postvar) { $ch = curl_init(); $headers = array( "POST".$url."HTTP/1.0", "Content-type: text/xml; charset=\"gb2312\"", "Accept:... ...
分类:
其他好文 时间:
2019-04-30 14:04:04
阅读次数:
1154
所有版本chrome、chromedriver、firefox下载链接 1. 所有版本chrome下载 是不是很难找到老版本的chrome?博主收集了几个下载chrome老版本的网站,其中哪个下载的是原版的就不得而知了。 http://www.slimjet.com/chrome/google-ch ...
分类:
其他好文 时间:
2019-04-29 21:09:18
阅读次数:
192
4.权限组件的应用 ** 1. 拷贝rbac组件到新项目中,并且注册 2. 迁移数据库 1. 修改rbac用户表 ManyToManyField 中 关联写上Role ,不要写字符串 ``` class User(models.Model): """用户表""" # name = models.Ch ...
分类:
其他好文 时间:
2019-04-28 20:43:09
阅读次数:
166
#include "stdafx.h" #include <stdio.h> #include <stdlib.h> #define DATAFILE "../web/data.txt" int main(void) { FILE *f = fopen(DATAFILE,"r"); int ch; ...
分类:
其他好文 时间:
2019-04-28 09:48:09
阅读次数:
116
传送门 继续水板子题... #include <bits/stdc++.h> using namespace std; inline int read() { int x = 0, f = 1; char ch = getchar(); while (ch < '0' || ch > '9') { ...
分类:
其他好文 时间:
2019-04-27 00:29:28
阅读次数:
151
传送门 继续水板子题... #include <bits/stdc++.h> using namespace std; inline int read() { int x = 0, f = 1; char ch = getchar(); while (ch < '0' || ch > '9') { ...
分类:
其他好文 时间:
2019-04-27 00:26:18
阅读次数:
141
传送门 继续水板子题... #include <bits/stdc++.h> #define ll long long using namespace std; inline int read() { int x = 0, f = 1; char ch = getchar(); while (ch ...
分类:
其他好文 时间:
2019-04-27 00:24:42
阅读次数:
207
传送门 三个点之间的最短路径 答案就是两两lca之和除以2 注意输出格式。 #include <bits/stdc++.h> using namespace std; inline int read() { int x = 0, f = 1; char ch = getchar(); while ( ...
分类:
其他好文 时间:
2019-04-27 00:08:14
阅读次数:
174
1、写一个函数,将两个dict(key是数字,value是string)进行合并,函数返回合并后的dict,规则如下:如果一个key仅仅存在于其中一个dict中,则直接加入合并后的dict;如果一个key在两个dict中都存在,那么给定一个choice值,choice可以是任何string,如果ch ...
分类:
编程语言 时间:
2019-04-24 10:37:37
阅读次数:
182