昨天在MyCat技术群众看到他们做了一个QQ机器人,能够自动回复群友们的问题以及方便QQ群的管理,遂想弄清楚到底是怎么做出来的,,咨询未果,上网搜索...解决方案有二:1、直接使用网上已有软件(但是获取全部功能需注册,不划算),测试了一下,功能很全,但是想破解无从下手,作业太多暂搁。相关网址: .....
分类:
其他 时间:
2015-04-12 11:50:15
收藏:
0 评论:
0 赞:
0 阅读:
180
一、什么是BOM1. BOM是browser object model的缩写,简称浏览器对象模型;2. BOM提供了独立于内容而与浏览器窗口进行交互的对象,描述了与浏览器进行交互的方法和接口;3. 由于BOM主要用于管理窗口与窗口之间的通讯,因此其核心对象是window;4. BOM由一系列相关的对...
分类:
其他 时间:
2015-04-12 11:50:05
收藏:
0 评论:
0 赞:
0 阅读:
116
题意:给出n个点,m条边,每条边的长度d和花费p,给出起点和终点的最短距离和花费,求最短距离,如果有多个最短距离,输出花费最少的在用dijkstra求最短距离的时候,再用一个f[]数组保存下最少花费就可以了这道题wa了好多次因为 建立图的时候没有考虑到重边,还有在建图的时候,如果遇到w[a][b]相...
分类:
其他 时间:
2015-04-12 11:49:55
收藏:
0 评论:
0 赞:
0 阅读:
97
Title :Determine whether an integer is a palindrome. Do this without extra space.思路1 : 将数字翻转,然后看是否相等。是否越界的问题,如果真是回文串是不会越界的class Solution {public: i...
分类:
其他 时间:
2015-04-12 11:49:25
收藏:
0 评论:
0 赞:
0 阅读:
168
#include int c(int a){ if(a%4==0&&(a%400==0||a%100!=0)) return 0; return 1;}int main(){ int y,m,d,i,t,n; while(scanf("%d",&n)!=EOF) {while(n--) { sca....
分类:
其他 时间:
2015-04-12 11:48:55
收藏:
0 评论:
0 赞:
0 阅读:
93
float Q_rsqrt( float number ){ long i; float x2, y; const float threehalfs = 1.5F; x2 = number * 0.5F; y = number; i = * ( long * ) &y; // evil ...
分类:
其他 时间:
2015-04-12 11:48:45
收藏:
0 评论:
0 赞:
0 阅读:
638
上下文切换(有时也称做进程切换或任务切换)是指CPU从一个进程或线程切换到另一个进程或线程。进程(有时候也称做任务)是指一个程序运行的实例。在Linux系统中,线程就是能并行运行并且与他们的父进程(创建他们的进程)共享同一地址空间(一段内存区域)和其他资源的轻量级的进程---(自认为描述非常好)。上...
分类:
其他 时间:
2015-04-12 11:48:35
收藏:
0 评论:
0 赞:
0 阅读:
110
本文概要:讲解Qt的信号与槽机制,涉及信号与槽的连接方法,连接条件等。可以使用信号与槽机制的类:信号与槽机制是在QObject类中实现的,这种机制能够用与任何QObject子类中,但是应该在类中加入Q_OBJECT宏。槽的介绍:槽与普通的c++成员函数几乎一样;槽能够被声明为虚函数,能被重载,能够被...
分类:
其他 时间:
2015-04-12 11:48:25
收藏:
0 评论:
0 赞:
0 阅读:
94
Given a binary tree, imagine yourself standing on therightside of it, return the values of the nodes you can see ordered from top to bottom.For exampl...
分类:
其他 时间:
2015-04-12 11:47:35
收藏:
0 评论:
0 赞:
0 阅读:
225
实验配置ASA应用(NAT和PAT)inisde区域是内部,ip地址192.168.1.1网关,outside区域是外部,也就是公网12.0.0.0网段,DMZ区域是隔离区,ip地址192.168.10.1C3是server2008服务器并且提供WEB网站,IP地址13.0.0.2,网关13.0.0.1,虚拟机网卡绑定VMnet1C2是linux服务器并且提供A..
分类:
其他 时间:
2015-04-12 10:44:56
收藏:
0 评论:
0 赞:
0 阅读:
592
数论神题~(二项式定理+单位根+构造)...
分类:
其他 时间:
2015-04-12 10:43:25
收藏:
0 评论:
0 赞:
0 阅读:
347
Given an array of size n, find the majority element. The majority element is the element that appears more than
? n/2 ? times.
You may assume that the array is non-empty and the majority element alw...
分类:
其他 时间:
2015-04-12 10:42:45
收藏:
0 评论:
0 赞:
0 阅读:
95
Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom.
For example:
Given the following binary tree,
1 ...
分类:
其他 时间:
2015-04-12 10:41:35
收藏:
0 评论:
0 赞:
0 阅读:
144
Grep : g (globally) search for a re (regular expression ) and p (print ) the results.
1、参数:
-i :忽略大小写
-c :打印匹配的行数
-l :从多个文件中查找包含匹配项
-v :查找不包含匹配项的行
-n :打印包含匹配项的行和行标
2、RE(正则表达式)
\ 忽略正...
分类:
其他 时间:
2015-04-12 10:41:05
收藏:
0 评论:
0 赞:
0 阅读:
172
2 查找:鱼与熊掌前面已经介绍了线程查找和二分查找的符号表(symbol table)实现,但现代应用的特点是查找与插入或删除操作交叉在一起,无法预测,并且表非常巨大。因此问题的关键就是我们能否设计出具有对数性能的search和insert/delete操作的数据结构和算法?为了实现高效的插入,我们需要链表结构。但是单链表却又阻止了二分查找的使用,因为二分查找依赖数组的快速访问才能快速定位到每次迭...
分类:
其他 时间:
2015-04-12 10:40:55
收藏:
0 评论:
0 赞:
0 阅读:
130
寻找最大数
时间限制:1000 ms | 内存限制:65535 KB
难度:2
描述
请在整数 n 中删除m个数字, 使得余下的数字按原次序组成的新数最大,
比如当n=92081346718538,m=10时,则新的最大数是9888
输入第一行输入一个正整数T,表示有T组测试数据
每组测试数据占一行,每行有两个数n,m(n可能是一个很...
分类:
其他 时间:
2015-04-12 10:40:15
收藏:
0 评论:
0 赞:
0 阅读:
151
Post Robot
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)
Total Submission(s): 725 Accepted Submission(s): 540
Problem Description
DT is a big fan of di...
分类:
其他 时间:
2015-04-12 10:39:56
收藏:
0 评论:
0 赞:
0 阅读:
118
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.
click to show follow up.
Follow up:
Did you use extra space?
A straight forward solution using O(m...
分类:
其他 时间:
2015-04-12 10:39:45
收藏:
0 评论:
0 赞:
0 阅读:
149
Given an integer n, return the number of trailing zeroes in n!.
Note: Your solution should be in logarithmic time complexity.
思路:对于一个数的阶乘后面有多少个0,一个数 n 的阶乘末尾有多少个 0 取决于从 1 到 n 的各个数的因子中 2 和 5 的个数,...
分类:
其他 时间:
2015-04-12 10:39:37
收藏:
0 评论:
0 赞:
0 阅读:
100
??
0x00 前言
每次漏洞爆发之后,很多人都在急着找批量,想着能多刷几个洞提交乌云上。其实有些漏洞的探测步骤很多时间是可以统一抽取做成框架的。今天我就分享一下自己写的一个漏洞批量利用的框架,运用这个框架,可以方便的进行一些漏洞的批量扫描。
0x01 框架的原理
漏洞的扫描一般都是URL链接挂载一个POC或者有人更狠直接上exp来尝试访问,如果服务器返回的页面中存在一些特征的字...
分类:
其他 时间:
2015-04-12 10:38:55
收藏:
0 评论:
0 赞:
0 阅读:
240