码迷,mamicode.com
首页 >  
搜索关键字:amp    ( 86777个结果
AnyChat for Web SDK支持设置本地图片为界面背景
从AnyChatr4092版本开始,AnyChatforWebSDK支持设置本地图片为界面背景。如果需要改变默认的“AnyChat”背景,则可以通过API接口:SetBkImage来设置,参考:http://bbs.anychat.cn/forum.php?...=172&extra=page%3D2早期的版本只支持网络路径(如:http://www.anychat.cn/p..
分类:Web程序   时间:2014-08-01 13:55:32    阅读次数:237
【python】python代码的缩进
未添加着色功能,这个比较麻烦,比如变量是什么色,函数是什么色,需要使用正则。使用blog里自带的python代码着色,更改如下:print(‘<preclass="brush:python;toolbar:false">‘+all+‘</pre>‘)效果及代码如下:#-*-coding:utf-8-*- codedic={‘"‘:‘&quot;‘,"‘":..
分类:编程语言   时间:2014-08-01 13:55:12    阅读次数:189
MySQL for Linux(source installation )
Installationsteps->useraddmysql->cd/tmp;tar-xzfmysql-VERSION.tar.gz->chown-Rroot.rootmysql-VERSION->mkdirmybuild->cdmybuild->cmake-DBUILD_CONFIG=mysql_release\-DCMAKE_INSTALL_PREFIX=/usr/local/mysql\../mysql_VERSION->make-j&&mak..
分类:数据库   时间:2014-08-01 13:54:12    阅读次数:220
codeforces Beta Round #19 D. Point (线段树 + set)
题目大意: 对平面上的点进行操作。 add x y 在 (x,y )上加一个点。 remove x y 移除 (x,y)上的点。 find x y 求出在(x,y)右上角离他最近的点,优先级是靠左,靠下。 思路分析: find 操作 比较麻烦。 要保证x大的同时还要确保x最小,而且该x上还要有点。 这样要找大的时候要小的,就是在线段树上选择性的进入左子树还是右子树。 所以...
分类:其他好文   时间:2014-08-01 13:51:52    阅读次数:241
UVA 11419 SAM I AM (二分图,最小割)
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2414 Problem C SAM I AM Input: Standard Input Output: Standard Output   The world is in gre...
分类:其他好文   时间:2014-08-01 13:51:41    阅读次数:328
队列基本操作—出队与入队
#include #include typedef struct QNode { //构造结点类型 int data; struct QNode *next; }*QueuePtr; typedef struct { QueuePtr front; QueuePtr rear; }LinkQueue; void CreateQueue(LinkQueue &Q);//创建队列 void E...
分类:其他好文   时间:2014-08-01 13:51:24    阅读次数:212
模式匹配—KMP算法中Next值求解
#include #include #include typedef struct { char *ch; int length; }HString; void StrAssign(HString &T,char chars[]); int get_next(HString T,int next[]); void main() { HString T; char chars[80]; in...
分类:其他好文   时间:2014-08-01 13:51:23    阅读次数:229
栈应用—表达式求值
#include #include #define LENGTH 100 //初始分配栈的长度 #define ADD_LEN 10 //栈长增量 typedef struct //定义字符栈 { int *base; int *top; int stacksize; }SqStack; void InitStack(SqStack &S); //初始化一...
分类:其他好文   时间:2014-08-01 13:50:31    阅读次数:237
数据结构—串的堆分配
#include #include typedef struct { char *ch; int length; }HString; void StrAssign(HString &T,char *chars); void StrLength(HString S); void StrCompare(HString S,HString T); void ClearString(HString &S...
分类:其他好文   时间:2014-08-01 13:50:01    阅读次数:123
栈的基本操作—出栈与入栈
#include #include #define LENGTH 100 //初始分配栈的长度 #define ADD_LEN 10 //栈长增量 typedef struct {//构造栈的数据类型 int *base; int *top; int stacksize; }SqStack; void CreateStack(SqStack &S);//初始化一个栈 void PushS...
分类:其他好文   时间:2014-08-01 13:49:41    阅读次数:187
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!