最新 最热

四舍五入番外二:INT

Int(参数)(大写INT,小写int)for Integer让参数变成向下取整的整数简单得只有一个参数功能听起来像之前介绍的RoundDown---->>>>>>关于四舍五入:Round系列函数<<<<<<----也像Floor------>>>>>>四舍五入番外一:基数取整...

2022-03-22
0

Leetcode 题目解析之 Perfect Squares

Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n.

2022-02-28
1

PAT(甲级)1121.Damn Single(25)

“Damn Single (单身狗)” is the Chinese nickname for someone who is being single. You are supposed to find those who are alone in a big party, so they can be taken c...

2022-02-25
1

Leetcode 题目解析之 Count and Say

The count-and-say sequence is the sequence of integers beginning as follows:

2022-02-13
1

Leetcode 题目解析之 Roman to Integer

Given a roman numeral, convert it to an integer.

2022-02-13
0

Leetcode 题目解析之 Power of Two & Pow(x, n)

Given an integer, write a function to determine if it is a power of two.

2022-01-20
0

Leetcode 题目解析之 Perfect Squares

Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n.

2022-01-15
1

Leetcode 题目解析之 Palindrome Number

Determine whether an integer is a palindrome. Do this without extra space.

2022-01-15
1

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.

2022-01-15
1

Leetcode 题目解析之 Integer to Roman

Given an integer, convert it to a roman numeral.

2022-01-15
0