码迷,mamicode.com
首页 >  
搜索关键字:through    ( 1907个结果
bzoj4419[SHOI2013]发微博
题意:给你一个初始没有边,点权均为0的无向图,三种操作:加边,删边,选择一个点将当前与之相邻的点(不包括自身)的点权+1,询问最后所有点的点权。 据说正解是set维护每个人的朋友,然后考虑每次加边、删边对答案的贡献......但作为脑子有坑的选手,我搞出了一个动态开点线段树....首先离线,分别考虑 ...
分类:其他好文   时间:2016-10-28 22:34:25    阅读次数:256
mac ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
好久不用mysql,今天突然想用的时候, mysql -uroot -p 直接报了下面的错误 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) mac可以在设置里面 ...
分类:数据库   时间:2016-10-27 13:04:28    阅读次数:371
/var/lib/mysql 的访问权限问题 Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
mysql 登录不进去 提示Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) shell> chown -R 777/var/lib/mysql 接着启动服务器 shell> /etc ...
分类:数据库   时间:2016-10-23 20:03:23    阅读次数:243
Security----Authorization----简单授权
Simple Authorization¶ 简单授权 82 of 86 people found this helpful Authorization in MVC is controlled through the AuthorizeAttribute attribute and its vari ...
分类:其他好文   时间:2016-10-23 12:14:50    阅读次数:337
CSS第二章
1、 文本与字体属性: text-decoration:文本修饰线 none(去除修饰线)、underline(下划线)、overline(上划线)、line-through(删除线) color:设置文本的颜色 font-size:设置字体大小 值要在单位 px font-style:设置文字的样 ...
分类:Web程序   时间:2016-10-23 00:17:34    阅读次数:256
Sublime Text安装Package Control
官网地址:https://packagecontrol.io/installation INSTALLATION Simple The simplest method of installation is through the Sublime Text console. The console i ...
分类:其他好文   时间:2016-10-22 15:12:09    阅读次数:270
一种将Region转为Polyline的方法
在AutoCAD.NET二次开发中,如果要将面域转为Polyline主要有以下几种方式: 1、使用Explode将面域炸成Line和Arc,然后再串起来,此方法可用于AutoCAD2007开始的所有版本。 参考:http://through-the-interface.typepad.com/thr ...
分类:其他好文   时间:2016-10-21 19:07:12    阅读次数:899
数据库的最简单实现与数据结构
原文:http://www.ruanyifeng.com/blog/2014/07/database_implementation.html 数据库的最简单实现 作者: 阮一峰 日期: 2014年7月 4日 作者: 阮一峰 日期: 2014年7月 4日 所有应用软件之中,数据库可能是最复杂的。 My ...
分类:数据库   时间:2016-10-21 15:43:16    阅读次数:352
Looping Techniques
When looping through dictionaries, the key and corresponding value can be retrieved at the same time using the items() method. >>> >>> knights = {'gal ...
分类:其他好文   时间:2016-10-21 13:45:47    阅读次数:186
Create function through MySQLdb
http://stackoverflow.com/questions/745538/create-function-through-mysqldb How can I define a multi-statement function or procedure in using the MySQLd ...
分类:数据库   时间:2016-10-16 07:45:35    阅读次数:246
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!