码迷,mamicode.com
首页 >  
搜索关键字:through    ( 1907个结果
Build Tool-自动化构建工具
输入:工程文件+编译说明文件; 处理:自动化构建工具+编译器; 输出:可执行文件。 相对于手动编译。 Historically, build automation was accomplished through makefiles. Today, there are two general cat ...
分类:其他好文   时间:2018-06-25 20:21:39    阅读次数:264
AGC 016 E Poor Turkeys
Problem Statement There are N turkeys. We number them from 1 through N. M men will visit here one by one. The i-th man to visit will take the followin ...
分类:其他好文   时间:2018-06-24 19:20:23    阅读次数:171
设计模式(三)_装饰器模式
装饰器模式 上篇学习了策略模式,现在回想下,什么是策略模式,好了。本篇主要介绍装饰器模式,just do it! 什么是装饰器模式 装饰器模式指的是动态的将责任附加到对象上。若要扩展功能,装饰器模式提供了比继承更弹性的替代方案。 如何使用装饰器模式 老王来到商场买衣服,需要买衣服,裤子,帽子.... ...
分类:其他好文   时间:2018-06-24 13:11:37    阅读次数:181
luogu最长连号
https://www.luogu.org/problemnew/show/P1420 100分做法~\(≧▽≦)/~啦啦啦 一开始就想到要用计数器,可是没用好。。。。。~~~~(>_<)~~~~ 我一直没弄明白怎么处理不连续的连号。。。 于是我看了题解\(^o^)/~ 用l保存,始终保存当前遇到的 ...
分类:其他好文   时间:2018-06-21 17:30:13    阅读次数:177
php mysql extension installation
after installed php by $ sudo apt install php, we can check the php version by $php -v, to me ,it is 7.0. so in order to connect to mysql in $php -S l ...
分类:数据库   时间:2018-06-18 20:59:07    阅读次数:165
ruby on rails environment setup
firstly ,we can install the latest version of ruby through ruby`s official site, $./configure $make $sudo make install ,this is three cmd to install t ...
分类:其他好文   时间:2018-06-18 20:21:51    阅读次数:178
bzoj 3837 (随机过题法了解一下)
3837: [Pa2013]Filary Description 给定n个正整数,从中挑出k个数,满足:存在某一个m(m>=2),使得这k个数模m的余数相等。 求出k的最大值,并求出此时的m。如果有多组解使得k最大,你要在此基础上求出m的最大值。 给定n个正整数,从中挑出k个数,满足:存在某一个m( ...
分类:其他好文   时间:2018-06-15 20:51:20    阅读次数:162
Codeforces Round #463 F. Escape Through Leaf (李超线段树合并)
听说正解是啥 set启发式合并+维护凸包+二分 根本不会啊 , 只会 李超线段树合并 啦 ... 题意 : 给你一颗有 $n$ 个点的树 , 每个节点有两个权值 $a_i, b_i$ . 从 $u$ 跳到 $v$ 的代价是 $a_u \times b_v$ . 你需要计算每个节点跳到叶子的最小代价 ...
分类:其他好文   时间:2018-06-13 23:26:27    阅读次数:249
luogu3761 [TJOI2017]城市
题目 luogu3761 题解 显然,只有在原树直径上删边,才可能使新树的直径变小,于是枚举直径上每条边 算了直径复杂度也是O(n)级的,干脆直接暴力枚举所有的边 删边后原树被分成 l, r 两颗子树,组成的新树直径有三种可能 1. 新树的直径为子树 l 的直径 2. 新树的直径为子树 r 的直径 ...
分类:其他好文   时间:2018-06-13 20:56:19    阅读次数:190
android 7.0拍照问题file:///storage/emulated/0/photo.jpeg exposed beyond app through ClipData.Item.getUri
在Application的onCreat()方法中添加以下代码: // android 7.0系统解决拍照的问题 StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder(); StrictMode.setVmPoli ...
分类:移动开发   时间:2018-06-13 18:09:22    阅读次数:396
1907条   上一页 1 ... 59 60 61 62 63 ... 191 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!