最新 最热

Uva----------(11078)Open Credit System

Open Credit SystemInput:Standard InputOutput: Standard OutputIn an open credit system, the students can choose any course they like, but there is a problem. ...

2018-03-26
0

2017-03-14学习笔记

1.Integer和int,装箱拆箱1、基本型和基本型封装型进行“==”运算符的比较,基本型封装型将会自动拆箱变为基本型后再进行比较,因此Integer(0)会自动拆箱为int类型再进行比较,显然返回true;2、两个Integer类型进行“==”比较...

2018-03-12
1

2017-03-10学习笔记

1.Integer和int,装箱拆箱1、基本型和基本型封装型进行“==”运算符的比较,基本型封装型将会自动拆箱变为基本型后再进行比较,因此Integer(0)会自动拆箱为int类型再进行比较,显然返回true;2、两个Integer类型进行“==”比较...

2018-03-12
1

No.012 Integer to Roman

12. Integer to RomanTotal Accepted: 71315Total Submissions: 176625Difficulty: Medium  Given an integer, convert it to a roman numeral. Input is guaranteed ...

2018-02-27
0

No.013 Roman to Integer

13. Roman to IntegerTotal Accepted: 95998Total Submissions: 234087Difficulty: EasyGiven a roman numeral, convert it to an integer. Input is guaranteed to be...

2018-02-27
1

No.009 Palindrome Number

9. Palindrome NumberTotal Accepted: 136330Total Submissions: 418995Difficulty: Easy  Determine w

2018-02-27
1

ViewPager 实现 Galler 效果, 中间大图显示,两边小图展示(优化篇)

上一张效果图:之前的项目有一个Galley的项目,但是代码结构特别乱,别问我为什么,我也是刚接手这个项目,为了方便以后阅读和维护我对一些模块进行了重构。ViewPager实现Galler效果,但是当...

2018-02-05
1

Leetcode 13 Roman to Integer

Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999. 和12正好相反,理解转换规则,打一个表就行了class Solution {public: ...

2018-01-12
1

Leetcode 12 Integer to Roman

Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999.模拟题,主要是搞清楚罗马数字的写法和规则,然后打个表就可以了。class Solution {p......

2018-01-12
1

Leetcode 9 Palindrome Number

Determine whether an integer is a palindrome. Do this without extra space. click to show spoilers.

2018-01-12
1