上传图片之前的效果图如下: 上传图片之后的效果图如下: 只是简单的做了上传的处理,没有做删除操作 ...
分类:
Web程序 时间:
2018-09-15 16:29:18
阅读次数:
1366
题目大意 设一个n个节点的二叉树tree的中序遍历为(l,2,3,…,n),其中数字1,2,3,…,n为节点编号。每个节点都有一个分数(均为正整数),记第j个节点的分数为di,tree及它的每个子树都有一个加分,任一棵子树subtree(也包含tree本身)的加分计算方法如下: subtree的左子 ...
分类:
其他好文 时间:
2018-09-15 15:26:06
阅读次数:
157
1. Unknown display in Ubuntu 14.04 input command under terminal : 1. xrandr 2. sudo cvt 1280 1024 60 3. xrandr --newmode "1280x1024_60.00" 109.00 1280 ...
分类:
系统相关 时间:
2018-09-15 15:25:09
阅读次数:
214
1. Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input wo ...
分类:
其他好文 时间:
2018-09-15 15:21:26
阅读次数:
159
<!DOCTYPE html><html><head><meta charset="utf-8"><title>单选复选框</title><link href="style.css" rel="stylesheet"></head><body bgcolor="pink"> <center><h1 ...
分类:
其他好文 时间:
2018-09-15 13:50:01
阅读次数:
157
2、搭建Java工程 A、加入mybatis核心包、依赖包、数据驱动包 B、在classpath下创建log4j.properties和db.propertites(mybatis默认使用log4j作为输出日志信息) log4j.properties Global logging configura ...
分类:
其他好文 时间:
2018-09-15 00:39:51
阅读次数:
152
程序执行流程如下: map()-->getPartition()分区 >write()(序列化,每一行都顺序执行这三个方法) >readFields() >compareTo()排序 >readFields() >分组compare >reduce() 对于每一行的内容,依次执行map()-->ge ...
分类:
其他好文 时间:
2018-09-14 21:32:36
阅读次数:
195
1.什么是if判断 判断一个条件如果成立则做...不成立则做... 2.为何要有if判断 让计算机能够像人一样具有判断的能力 3.如何用if判断 ''' #语法1: ''' if 条件1: code1 code2 code3 ....... ''' age=18 if age != 18: prin ...
分类:
其他好文 时间:
2018-09-14 21:32:05
阅读次数:
129
不断的调用setTimeout 让时间显示为最先时间 当输入的时间比当前时间小的时候 或者 当前时间比输入时间大的时候 都会不再运行setTimeout了 ...
分类:
其他好文 时间:
2018-09-14 19:52:29
阅读次数:
153