题目链接:https://vjudge.net/problem/HDU-4027 A lot of battleships of evil are arranged in a line before the battle. Our commander decides to use our secre ...
分类:
其他好文 时间:
2017-10-25 01:04:27
阅读次数:
179
一、使用jackson反序列化时存在多余字段: Unrecognized field "xxx" (……), not marked as ignorable (5 known properties: "xxxxxxxxx", 反序列化字段未匹配上,忽略掉这些字段: 二、swagger配置开发环境: ...
分类:
其他好文 时间:
2017-10-22 21:29:23
阅读次数:
278
HDU1087:Super Jumping! Jumping! Jumping! kuangbin专题十二:E题 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submiss ...
分类:
其他好文 时间:
2017-10-15 21:25:44
阅读次数:
190
public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World"); } } 注:String args[] 与 String[] args 都可以执行,但推荐使用 ...
分类:
编程语言 时间:
2017-10-11 20:36:36
阅读次数:
179
python下的isdigit函数: isdigit() 方法检测字符串是否只由数字组成。 语法 isdigit()方法语法: str.isdigit() 示例代码如下: 结果: 我想说的重点在于: 这里面会有一个坑,那就是。Number = input("1234:")即从控制台上获取一串值 那么 ...
分类:
编程语言 时间:
2017-10-10 11:35:05
阅读次数:
555
srand函数是随机数发生器的初始化函数。 原型: void srand(unsigned seed); 用法:它需要提供一个种子,这个种子会对应一个随机数,如果使用相同的种子后面的rand()函数会出现一样的随机数。如: srand(1); 直接使用 1 来初始化种子。不过为了防止随机数每次重复, ...
分类:
其他好文 时间:
2017-09-28 18:02:23
阅读次数:
200
面向对象程序设计中最重要的一个概念是继承。继承允许我们依据另一个类来定义一个类,这使得创建和维护一个应用程序变得更容易。这样做,也达到了重用代码功能和提高执行时间的效果。 当创建一个类时,您不需要重新编写新的数据成员和成员函数,只需指定新建的类继承了一个已有的类的成员即可。这个已有的类称为基类,新建 ...
分类:
编程语言 时间:
2017-09-12 17:44:24
阅读次数:
162
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any p... ...
分类:
其他好文 时间:
2017-08-30 11:02:30
阅读次数:
138
【062-Unique Paths(唯一路径)】 【LeetCode-面试算法经典-Java实现】【全部题目文件夹索引】 原题 A robot is located at the top-left corner of a m x n grid (marked ‘Start’ in the diagr ...
分类:
编程语言 时间:
2017-08-20 15:50:31
阅读次数:
146
Problem Description A weird clock marked from 0 to 59 has only a minute hand. It won’t move until a special coin is thrown into its box. There are dif ...
分类:
其他好文 时间:
2017-08-19 21:17:41
阅读次数:
195