介绍一下编码解码函数对 1. escape /unescape 主要用于汉字编码,返回字符的unicode编码值, 对“+”不能编码 2. encodeURI / decodeURI 用于对url进行编码,但对特殊字符如+ ? # @ & 等不能编码 3, encodeURIComponent /d ...
分类:
Web程序 时间:
2018-08-11 01:12:14
阅读次数:
211
题目链接:https://www.nowcoder.com/acm/contest/143/J 题目描述 There are n students going to travel. And hotel has two types room:double room and triple room. T ...
分类:
其他好文 时间:
2018-08-05 13:05:21
阅读次数:
180
(有任何问题欢迎留言或私聊 && 欢迎交流讨论哦 目录 [TOC] 题意: "传送门" 原题目描述在最下面。 $n(n\leq 100000)$个人$m(m\leq 10)$个星球,每个星球容纳的人数有上限,每个人都有自己想去的星球意愿。问是否所有的都能去到外星球。 思路: ...
分类:
其他好文 时间:
2018-08-04 16:40:43
阅读次数:
167
* 编码 https://blog.csdn.net/u012252959/article/details/49025225 1. 种类 发明:美国等国家发明,标准码 iso-8859-1,编码单单字节编码,支持欧洲语言 演变:机器不认识中文,国际码 gbk 简称 gb2312 【GBK汉子国标扩展 ...
分类:
其他好文 时间:
2018-08-03 14:42:24
阅读次数:
162
版本 CodeIgniter 3 PHP 5.4 感谢万能的stackoverflow。 得修改CodeIgniter的源码。 ./system/database/drivers/mysql/mysql_driver.php 斜体加下划线的就是修改过的部分。 参考:https://stackover ...
分类:
数据库 时间:
2018-07-31 17:24:50
阅读次数:
170
1. 动态路由匹配 /home/123456 > resFul > params /home?room_id=123456 > query (1) resFul (1.1) 通过$route.params获取id <div>房间号:{{$route.params.id}}</div> <div>成员 ...
分类:
其他好文 时间:
2018-07-30 21:42:43
阅读次数:
150
A. Escape from Stones time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A. Escape from Sto ...
分类:
其他好文 时间:
2018-07-30 00:36:49
阅读次数:
151
The ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all have to change the four-digit room ...
分类:
其他好文 时间:
2018-07-28 18:19:26
阅读次数:
142
A murder that scandalised Harvard and the worldVisiting Boston in 1868, Charles Dickens was asked what he wanted to see most. The room where it happen ...
分类:
其他好文 时间:
2018-07-28 12:02:29
阅读次数:
215
Android官方架构组件介绍之LifeCycle 下面是官方提供的Android App开发的架构图: 从上图可以看到一些关键字:ViewModel,LiveData,Room等。其实看了上面视频的会发现Google官方Android架构组件一共包括以下几个: LifeCycle : 与Activ ...
分类:
移动开发 时间:
2018-07-27 19:24:26
阅读次数:
235