/** * 先写构造方法,如果先写RED(1,“红色”)会报错的 */ public enum Color { RED(1,"红色"), GREEN(2,"绿色"), YELLOW(2,"黄色"); private int code; private String name; Color(int c ...
分类:
其他好文 时间:
2017-07-16 18:31:26
阅读次数:
131
#!/bin/bash
#authorwangning
#date2017-7-15
#qq1198143315
#Email1198143315@qq.com
###############################definecolor##############################
red="\033[31m"
green="\033[32m"
yellow="\033[33m"
color="\033[0m"
##################################m..
分类:
系统相关 时间:
2017-07-16 17:29:00
阅读次数:
353
P1160 队列安排 P1160 队列安排 P1160 队列安排 982通过 2.3K提交 题目提供者 该用户不存在 标签 云端 难度 普及/提高- 时空限制 1s / 128MB 题目描述 一个学校里老师要将班上N个同学排成一列,同学被编号为1~N,他采取如下的方法: 1.先将1号同学安排进队列, ...
分类:
其他好文 时间:
2017-07-16 16:37:13
阅读次数:
118
<styletype="text/css"media="screen"> div{display:inline-block;background-color:grey;} ul{list-style:none;display:table;margin:0auto;background-color:yellow;padding:0px;} li{display:table-cell;background-color:blue;}</style> <divstyle="width:8..
分类:
Web程序 时间:
2017-07-15 12:41:49
阅读次数:
203
利用Linux系统中的时间秒1-59来进行猜数字游戏,详细代码如下:#!/bin/bash
#authorwangning
#date2017-7-15
#qq1198143315
#Email1198143315@qq.com
####################################definecolor##########################
red="\033[31m"
green="\033[32m"
yellow="\0..
分类:
系统相关 时间:
2017-07-15 12:39:35
阅读次数:
268
1,scp报错[root@localhost soft]# scpjdk-7u55-linux-x64.tar.gz 192.168.121.246:/soft/root@192.168.121.246's password: bash: scp: command not foundlost con ...
分类:
系统相关 时间:
2017-07-13 20:34:12
阅读次数:
260
<style type="text/css"> *{ /*重置盒子的自带属性值*/ margin: 0; padding: 0; } h1,p{ background: yellow; } span,i{ /*盒子属性失效 对行标签*/ background: red; height: 100px; ...
分类:
其他好文 时间:
2017-07-13 13:27:33
阅读次数:
121
You are given a map in form of a two-dimensional integer grid where 1 represents land and 0 represents water. Grid cells are connected horizontally/ve... ...
分类:
其他好文 时间:
2017-07-11 23:25:29
阅读次数:
218
现象: 依据測试,中文OS X 10.9和中文10.10的文件标记彼此不兼容。也就是说。比方在10.9中的颜色标记,在10.10DP2中不能删除,但能够加入/删除10.10自己的颜色标记,反之亦然。 參见下图。目录admin有两个红色标记,当中在后面被挡住的是10.9.4建立的,在10.10DP2中 ...
分类:
其他好文 时间:
2017-07-11 19:32:26
阅读次数:
220
https://yq.aliyun.com/articles/25530 摘要: 1. SpringApplication SpringApplication 类是启动 Spring Boot 应用的入口类,你可以创建一个包含 main() 方法的类,来运行 SpringApplication. 1 ...
分类:
编程语言 时间:
2017-07-11 17:46:32
阅读次数:
215