码迷,mamicode.com
首页 >  
搜索关键字:adl    ( 1567个结果
dp乱写2:状态压缩dp(状压dp)炮兵阵地
https://www.luogu.org/problem/show?pid=2704 题意: 炮兵在地图上的摆放位子只能在平地('P') 炮兵可以攻击上下左右各两格的格子; 而高原('H')上炮兵能够攻击到但是不能摆放 求最多能摆放的炮兵的数量 就是这个意思。 难度提高,弱省省选 一开始是想写df ...
分类:其他好文   时间:2017-08-17 20:10:44    阅读次数:193
场景下开发-angular 高级组件(自定义)-显示更多
// 假如拿到数据少于3条,就只显示数据, //多于三条,显示更多标记,点击更多显示全部, //点击收起,回复到第二种状态 code1 code2 code3 ...
分类:其他好文   时间:2017-08-17 17:22:59    阅读次数:197
mysql错误:you are using update mode and you tried to update a table without a where that uses a key column to disable safe mode
you are using update mode and you tried to update a table without a where that uses a key column to disable safe mode 您使用的是更新模式,并且您尝试更新一个没有在使用一个键列的表禁用 ...
分类:数据库   时间:2017-08-17 14:37:55    阅读次数:393
C#接口随手写(更新中)
接口:定义接口,里面包含方法,但没有方法具体实现的代码,然后在继承该接口的类里面要实现接口的所有方法的代码 public interface IBark { void bark(); } public class Dog : IBark { public void bark() { Console. ...
分类:Windows程序   时间:2017-08-17 12:44:36    阅读次数:215
Android性能优化典例(二)
1、使用 Maven 依赖方案取代使用导入jar包方案 假设项目中须要用到第三方jar包。经常使用的做法是去网上下载后然后放入libs目录,再加入到项目依赖,只是,在Android Studio已经不推荐使用这套做法了,由于假设jar有更新。那么每次都要去下载最新版本号然后删除历史依赖再加入新版本号 ...
分类:移动开发   时间:2017-08-15 17:48:42    阅读次数:241
android开发里跳过的坑——android studio 错误Error:Execution failed for task ':processDebugManifest'. > Manifest merger failed with multiple errors, see logs
使用AS在gradle里配置了多个定制版本,发现在编译版本切换时,会出现错误: Error:Execution failed for task ':processDebugManifest'.> Manifest merger failed with multiple errors, see log ...
分类:移动开发   时间:2017-08-15 17:21:09    阅读次数:870
python
pyenv#可以实现python多版本控制与切换 ipython#更方便的编写python,可以补全命令彩色显示等功能 yum -y install gcc gcc-c++ make git patch openssl-devel zlib-devel readline-devel sqlite-d ...
分类:编程语言   时间:2017-08-13 16:19:04    阅读次数:120
第一课 前言
1、同步(synchronous)和异步(asynchronous) 同步和异步是对方法的调用而言的 同步:提交请求->等待服务器处理->处理完毕返回 ; 这个期间客户端浏览器不能干任何事 异步: 请求通过事件触发->服务器处理(这时候浏览器仍然可以作其他事情)->处理完毕 (异步调用方法后返回很快 ...
分类:其他好文   时间:2017-08-13 14:19:36    阅读次数:177
io流
java中有字符流和字节流。字节流继承inputStream和OutputStream,字符流继承自InputSteamReader和OutputStreamWriter PrintWriter pw = new PrintWriter("1.txt","utf-8"); 21 pw.write(s ...
分类:其他好文   时间:2017-08-12 18:58:52    阅读次数:142
ionic入坑记记录
0.java1.8安装各种环境的配置 1.没有安装过npm 1.1 安装nodejs自带此物. 1.2 不希望npm install -g都在c盘.设置全局路径 path中是X:\某个文件夹\你的文件夹\node_modules 跟npm config ls 中的prefix要一样 另外要配置 np ...
分类:其他好文   时间:2017-08-12 17:13:58    阅读次数:211
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!