最新 最热

Python:issubset函数用法举例

issubset() 方法用于判断集合的所有元素是否都包含在指定集合中,如果是则返回 True,不是则返回 False。

2021-01-25
1

Python之集合类型set(集合的特性及常用方法等)

li = [1,2,3,1,2,3]      #将列表转化为集合,去掉重复的项,再将集合转化为列表

2021-01-25
1

python自定义异常捕获异常处理异常

参考链接: Python自定义异常def set_inf(name,age):    if not 0 < age < 120:        raise ValueError(&#x27;超出范围&#x27;)    else:        print(&#x27;%s is %s years old&#x27; % (name,age))d.....

2021-01-22
1

HDOJ(HDU) 2162 Add ‘em(求和)

Problem Description Write a program to determine the summation of several sets of integers.

2021-01-21
1

HDOJ 1390 Binary Numbers(进制问题)

Problem Description Given a positive integer n, find the positions of all 1’s in its binary representation. The position of the least significant bit is 0.

2021-01-21
1

HDOJ 1339 A Simple Task(简单数学题,暴力)

Problem Description Given a positive integer n and the odd integer o and the nonnegative integer p such that n = o2^p.

2021-01-21
1

HDOJ 2802 F(N)

Problem Description Giving the N, can you tell me the answer of F(N)?Input Each test case c

2021-01-21
1

超低功耗LoRa无线通信应用实践

本博客选用LoRa Radio Module-868MHZ作为无线通信模组,其是一款体积小、微功率、低功耗、高性能、远距离的无线数据传输模块。具备内部自动扩频计算和前导 CRC 纠错处理能力。使用时,不改变用户的任何数据和协议,采用半...

set
2021-01-20
0

​LeetCode刷题实战60:第k个排列

https://leetcode-cn.com/problems/permutation-sequence/

2021-01-20
1

POJ 2027 No Brainer

Problem Description Zombies love to eat brains. Yum.

2021-01-19
1