893C Rumor 思路: 前向星+DFS 代码: c++ include using namespace std; define _for(i,a,b) for(int i=(a); i n m; _rep(i,1,n) cin w[i]; _rep(i,1,m) { cin u v; add( ...
分类:
其他好文 时间:
2017-11-26 11:20:10
阅读次数:
103
893A Chess For Three 思路: 直接模拟即可,第一盘永远是A与B开始 代码: c++ include using namespace std; define _for(i,a,b) for(int i=(a); i n; _rep(i,1,3) a[i]=i; _rep(i,1,n ...
分类:
其他好文 时间:
2017-11-26 11:03:46
阅读次数:
178
cookie :客户端浏览器上的一个文件,用键值对的方式存储在文件中。在服务器端和客户端都可以对其进行设置和获取。利用这一特性,可以对用户进行登录认证,设置分页.... 服务器端: 在views.py中: 设置 rep = HttpResponse(...) 或 rep = render(reque ...
分类:
其他好文 时间:
2017-11-21 23:58:59
阅读次数:
375
Ubuntu 14.04 上安装V-rep 3.4.0 进入VREP官网下载Linux版本的V-rep(注意V-rep 3.4.0只有64位的版本,因此操作系统也要与之对应,Ubuntu 32位系统就无法运行V-rep 3.4。如果想使用以前的V-rep版本,可以进入这个网址下载) 将下载的压缩文件 ...
分类:
其他好文 时间:
2017-11-18 21:58:43
阅读次数:
334
Wannafly挑战赛3 A 珂朵莉 B 遇见 水题 #include<bits/stdc++.h> using namespace std; #pragma comment(linker, "/STACK:102400000,102400000") #define rep(i,a,b) for ( ...
分类:
其他好文 时间:
2017-11-12 13:34:26
阅读次数:
150
C++11提供时间管理类,包括三种类型:时间间隔duration,时钟clocks,时间点time point。 1、记录时常的duration 1.1 原型 duration表示一段时间间隔,用来记录时间长度,可以表示时分秒等单位。其原型如下: Rep表示一个数值类型,表示时钟数的类型,第二个参数 ...
分类:
其他好文 时间:
2017-11-05 22:26:22
阅读次数:
260
p师傅的经典漏洞(小密圈的那些姿势) 2017年2月27日 p师傅在小密圈po的一个问题 <?php $str = addslashes($_GET['option']); $file = file_get_contents('xxxxx/option.php'); $file = preg_rep ...
分类:
其他好文 时间:
2017-11-03 19:00:11
阅读次数:
167
You need to construct a string consists of parenthesis and integers from a binary tree with the preorder traversing way. The null node needs to be rep ...
分类:
其他好文 时间:
2017-10-29 11:23:34
阅读次数:
172
继承:解决类中的代码冗余; //Main函数 static void Main(string[] args) { Rep r = new Rep("张三"); r.Msg(); } Console.ReadKey(); //父类 public class Person { private strin ...
路径规划 VS 轨迹规划 轨迹规划的目的是将输入的简单任务描述变为详细的运动轨迹描述。注意轨迹和路径的区别:Trajectory refers to a time history of position, velocity, and acceleration for each degree of f ...
分类:
其他好文 时间:
2017-10-26 23:20:12
阅读次数:
526