码迷,mamicode.com
首页 > 其他好文
数学奥林匹克问题解答:2017高联基础班“指数与对数”作业题-2
1、化简: $${(27^{1\over \log_23} + 5^{\log_{25}49})(81^{1\over \log_49} - 8^{\log_49})\over 3+5^{1\over \log_{16}25} \cdot 5^{\log_53}}.$$ 解答: 原式 = ${\le ...
分类:其他好文   时间:2016-09-01 07:05:03    阅读次数:305
一个最简单的ftpsever
没有什么事情可以做,无聊的很 写个最简单的ftp吧 说白了就是一个简单的文件上传。QAQ 思路:client --读取文件的一行 然后发到server端 然后server 读取 写入文件的一行 先写客户端 然后是 server端 因为是在本机器上面做的 请忽略ip吧 ...
分类:其他好文   时间:2016-09-01 07:04:32    阅读次数:248
CCI4.5/LintCode Validate Binary Search Tree
Validate BST是指按中序遍历niorder后左<node<右; 第一种方法: 先按inoreder遍历, 再放进ArrayList里用循环看是不是从小到大排序; 注意: 设置成员变量list时,如果先new作ArrayList, 则在main函数里每次用都得new个新的class对象; 如 ...
分类:其他好文   时间:2016-09-01 07:03:14    阅读次数:140
汽车租赁管理开发流程的博客
在这个暑假假期中,我们团队做了一个汽车的租赁管理的网站,我们团队采用分工的开发的方式,其中史秀源负责这个系统的统筹管理,罗竣元负责汽车管理的模块,谭枝敬负责前台职工管理,卢伟斌负责前台管理,闫龙飞负责后台的管理。我们的分工的系统是放在码 云上(https://git.oschina.net/nn83 ...
分类:其他好文   时间:2016-09-01 07:05:25    阅读次数:372
一个低级的错误
在服务器上安装了个laravel,当服务器出错时,直接显示500错误,只返回了头部,发现是没有给权限,23333333333333 目录权限 安装 Laravel 之后,可能需要你配置一下目录权限。web 服务器需要拥有 storage 目录下的所有目录和 bootstrap/cache 目录的写权 ...
分类:其他好文   时间:2016-09-01 07:04:25    阅读次数:307
LeetCode-Number of Digit One
Given an integer n, count the total number of digit 1 appearing in all non-negative integers less than or equal to n. For example: Given n = 13, Retur ...
分类:其他好文   时间:2016-09-01 07:05:37    阅读次数:186
LeetCode-Combination Sum IV
Given an integer array with all positive numbers and no duplicates, find the number of possible combinations that add up to a positive integer target. ...
分类:其他好文   时间:2016-09-01 07:04:28    阅读次数:227
Only variables should be assigned by reference
php 兼容问题1 $this->_base_classes =& is_loaded(); $this->_base_classes = is_loaded(); 引用返回的正确例子 <?phpfunction &returns_reference(){ return $someref;}$new ...
分类:其他好文   时间:2016-09-01 07:04:27    阅读次数:583
UVA1025 A Spy in the Metro
题解: dp[i][j]表示在i时刻,在车站j。可以往哪行动 预处理一下每个时刻,每个车站是否有车 有3个决策 1.等1分钟 dp[i][j]=dp[i+1][j]+1 2.向左 dp[i][j]=min(dp[i][j],dp[i+t[j-1]][j-1]) 3.向右 dp[i][j]=min(d ...
分类:其他好文   时间:2016-09-01 07:03:08    阅读次数:223
UVA437 The Tower of Babylon
题解: DAG最长路裸题 注意DAG最长路,先是建图,然后记忆化搜索即可 代码: ...
分类:其他好文   时间:2016-09-01 07:01:51    阅读次数:181
lesson005 操作系统
一、 带着问题来学习 软件的运行环境指的是什么? windows的应用程序能够在Linux上面运行吗? Java虚拟机是什么原理 二 、伟大的操作系统 1 克服硬件差异 在操作系统出来之前,每一台电脑都是各自为政的,它的指令都是不一样的,在很久之前,很多厂商都做自己的电脑,里面的指令和别家的不一样的 ...
分类:其他好文   时间:2016-09-01 07:04:38    阅读次数:161
UVa11988 Broken Keyboard (a.k.a. Beiju Text) (链表)
...
分类:其他好文   时间:2016-09-01 07:02:34    阅读次数:183
session基于cookie
服务器创建session的时候会带一个id,并会将这个id号以cookie的形式回写给服务器(这个cookie没有设置有效期), 服务器下次再访问会带着这个id过来找指定的session。 问题:此时浏览器关闭 cookie消失 电子商务网站应用注意问题!! 解决: HttpSession sess ...
分类:其他好文   时间:2016-09-01 02:15:49    阅读次数:198
UVa1386
1386 Cellular AutomatonA cellular automaton is a collection of cells on a grid of speci ed shape that evolves through a numberof discrete time steps a ...
分类:其他好文   时间:2016-09-01 02:17:13    阅读次数:226
DOM0级事件处理和DOM2级事件处理
转自:http://www.cnblogs.com/holyson/p/3914406.html 0级DOM 分为2个:一是在标签内写onclick事件 二是在JS写onlicke=function(){}函数 1) <input id="myButton" type="button" value= ...
分类:其他好文   时间:2016-09-01 02:16:25    阅读次数:276
All You Need is to Wait
电子科技大学 ACM CDOJ 2 翻译 All You Need is to Wait Time Limit: 6000/2000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others) Submit Status All the cit ...
分类:其他好文   时间:2016-09-01 02:15:54    阅读次数:644
github常见操作和常见错误!错误提示:fatal: remote origin already exists.
如果输入$ git remote add origin git@github.com:djqiang(github帐号名)/gitdemo(项目名).git 提示出错信息:fatal: remote origin already exists. 解决办法如下: 1、先输入$ git remote r ...
分类:其他好文   时间:2016-09-01 02:14:56    阅读次数:196
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!