最新 最热

【刷题】Sum of Digits【1】

提示: In the first sample the number already is one-digit — Herald can’t cast a spell. The second test contains number 10. After one casting of a spell it bec...

2022-11-15
2

问题分析:ios_base::fixed 导致输出精度丢失?

可以看到,我们使用了 setf,对 floatfield 设置了一个 fixed 的 flag,那么这些就是我们搜索的关键词。

2022-10-27
2

EXCEL的基本操作(九)

参数说明:●year可以为一到四位数字:●month代表每年中月份的数字。如果所输人的月份大于12.将从指定年份的-月份开始往上day 代表在该月份中第几天的数字。如果day大于该月份的最大天数.则将从指定月份的第一天开始...

2022-06-01
1

plot_importance多分类、排序不匹配、图片数值不显示

model.feature_importances_的重要性排名默认使用gain,而xgb.plot_importance默认使用weight,所以:

2022-05-10
1

关于chmod的那些事儿

可能在当下华夏大地上,这个话题已经被翻来覆去咀嚼了无数遍,也是聚餐或者会面的同学朋友间会永远吐槽活着分析不完的话题。

2022-04-19
1

Leetcode 题目解析之 Restore IP Addresses

Given a string containing only digits, restore it by returning all possible valid IP address combinations.

2022-02-13
3

Leetcode 题目解析之 Plus One

Given a non-negative number represented as an array of digits, plus one to the number.

2022-01-20
1

Leetcode 题目解析之 Add Digits

Given a non-negative integer num, repeatedly add all its digits until the result has only one digit.

2022-01-15
5

Leetcode 题目解析之 Add Two Numbers

You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add...

2022-01-14
3

Leetcode 题目解析之 Bulls and Cows

You are playing the following Bulls and Cows game with your friend: You write down a number and ask your friend to guess what the number is. Each time your frie...

2022-01-10
3