Every day a Leetcode
题目来源:421. 数组中两个数的最大异或值
解法1:贪心 位运算
初始化答案 ans 0。从最高位 high_bit 开始枚举 i,也就是 max(nums) 的二进制长度减一。设 newAns ans 2i,看能否从数组 nums 中选两个…
ValueError: ‘x’ and ‘y’ must have the same size
问题描述 出错代码
axes[0].errorbar(dates_of_observation, observed_lai, yerrstd_lai, fmt"o")X是观测的日期,16天,而且数据也是对应的16个,为什么不对应呢?…