码迷,mamicode.com
首页 > 2019年02月16日 > 全部分享
POJ - 3233 Matrix Power Series
传送门 Solution: 1.矩阵分块 题解在这里 1 #include<iostream> 2 #include<cstdio> 3 #include<cmath> 4 #include<algorithm> 5 #include<cstring> 6 #define R register 7 ...
分类:其他好文   时间:2019-02-16 09:32:46    阅读次数:195
php文件处理函数
//basename的使用$path='test/abc.jpg'; echo basename($path);// echo ''; echo basename($path,'.jpg');// /* * 输出结果 abc.jpg abc * */ ...
分类:Web程序   时间:2019-02-16 09:32:32    阅读次数:188
CH2401 送礼物(双向dfs)
CH2401 送礼物 描述 作为惩罚,GY被遣送去帮助某神牛给女生送礼物(GY:貌似是个好差事)但是在GY看到礼物之后,他就不这么认为了。某神牛有N个礼物,且异常沉重,但是GY的力气也异常的大(-_-b),他一次可以搬动重量和在w(w<=2^31-1)以下的任意多个物品。GY希望一次搬掉尽量重的一些 ...
分类:其他好文   时间:2019-02-16 09:32:13    阅读次数:337
题解 CF535E 【Tavas and Pashmaks】
首先可得到这个式子: $\frac{A}{a_{i}}+\frac{B}{b_{i}}=T?$ 其中 $T?$ 表示时间,这个式子应该不难理解,题目就转换成了对于一对 $(a_{i}?$ , $b_{i})?$ ,如果存在一对 $(A,B)?$ 使得时间 $T?$ 在 $(a_{i}?$ , $b_ ...
分类:其他好文   时间:2019-02-16 09:31:00    阅读次数:190
[转帖]龙芯下一代处理器微结构GS464E细节曝光
龙芯下一代处理器微结构GS464E细节曝光 龙芯下一代处理器微结构GS464E细节曝光 http://www.linuxidc.com/Linux/2015-05/118009.htm http://www.linuxidc.com/Linux/2015-05/118009.htm 近日,龙芯在《中 ...
分类:其他好文   时间:2019-02-16 09:30:30    阅读次数:187
spring boot的项目结构问题
问题:spring boot项目能够正常启动,但是在浏览器访问的时候会遇到404的错误,Whitelable Error Page 404 分析及解决方案:首先Application文件要放在项目的外层,也就是pom文件中groupId所在路径下,在这个目录下或者再往上也可以,Application ...
分类:编程语言   时间:2019-02-16 09:29:33    阅读次数:133
maven阿里云镜像及本地仓库
一、添加阿里云镜像 1 找到maven的安装目录,conf文件夹下的setting.xml文件 2 打开setting.xml文件,找到mirrors节点添加阿里镜像库地址: 二、配置本地仓库 打开maven安装目录\conf\setting.xml文件。 修改为本地路径:<localReposit ...
分类:其他好文   时间:2019-02-16 09:28:51    阅读次数:244
CF786B Legacy
好久不写题解了QAQ 传送门:https://www.luogu.org/problemnew/show/CF786B 很巧妙的一道题 考虑建两颗线段树,一颗out,维护出去的边,一颗in,维护进来的边 这样的话,所有的加进来的边,都是从out连向in,而且最后的最短路,实际上求得是out中的点到i ...
分类:其他好文   时间:2019-02-16 09:28:37    阅读次数:252
Unknown custom element did you register the component correc
1、错误描述 vue.esm.js?efeb:591 [Vue warn]: Unknown custom element: <el-container> - did you register the component correctly? For recursive components, ma ...
分类:其他好文   时间:2019-02-16 09:28:24    阅读次数:7421
node后台生成echarts图表
1 //2,生成图片数据 2 var option = { 3 tooltip: { 4 trigger: 'item', 5 formatter: "{a} {b} : {c} ({d}%)" 6 }, 7 8 series: [{ 9 name: '访问来源', 10 ... ...
分类:其他好文   时间:2019-02-16 09:27:48    阅读次数:696
[Lintcode]15. Permutations/[Leetcode]46. Permutations
"15. Permutations" / "46. Permutations" 本题难度: Medium Topic: Search & Recursion Description Given a list of numbers, return all possible permutations. ...
分类:其他好文   时间:2019-02-16 09:27:35    阅读次数:173
UVa 202 Repeating Decimals 题解
The decimal expansion of the fraction 1/33 is 0.03, where the 03 is used to indicate that the cycle 03 repeats inde?nitely with no intervening digits. ...
分类:其他好文   时间:2019-02-16 09:27:03    阅读次数:147
iOS 多线程 GCD part3:API
https://www.jianshu.com/p/072111f5889d 2017.03.05 22:54* 字数 1667 阅读 88评论 0喜欢 1 0. 预备知识 GCD对时间的描述有些新奇 #define NSEC_PER_SEC 1000000000ull #define NSEC_P ...
分类:移动开发   时间:2019-02-16 09:26:47    阅读次数:206
python面向对象三大特性之封装
一、 概述 定义:隐藏对象的属性和实现细节,仅对外提供公共访问方式 封装的原则:把不需要对外提供的内容都隐藏起来,提供公共的方法访问这些隐藏属性 二、封装手段 使用双下划线将属性和方法隐藏起来 ...
分类:编程语言   时间:2019-02-16 09:26:31    阅读次数:178
mysql:删除表数据drop、truncate和delete的用法
程度从强到弱 1、drop table tb drop将表格直接删除,没有办法找回 2、truncate (table) tb 删除表中的所有数据,不能与where一起使用 3、delete from tb (where) 删除表中的数据(可制定某一行) 区别:truncate和delete的区别 ...
分类:数据库   时间:2019-02-16 09:26:19    阅读次数:214
[Lintcode]16. Permutations II/[Leetcode]47. Permutations II
"16. Permutations II" / "47. Permutations II" 本题难度: Medium Topic: Search & Recursion Description Given a list of numbers with duplicate number in it. ...
分类:其他好文   时间:2019-02-16 09:25:50    阅读次数:170
Java集合
List的遍历操作: ...
分类:编程语言   时间:2019-02-16 09:25:27    阅读次数:141
590条   上一页 1 ... 28 29 30 31 32 33 34 35 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!