码迷,mamicode.com
首页 >  
搜索关键字:size classes    ( 52532个结果
2021.4.3| ROS下相机标定
启动摄像头 roslaunch robot_vision usb_cam.launch 启动标定包 rosrun camera_calibration cameracalibrator.py --size 8x6 --square 0.024 image:=/usb_cam/image_raw ca ...
分类:其他好文   时间:2021-04-05 12:33:09    阅读次数:0
个人常用的 matplotlib 绘图模板
import numpy as np import matplotlib import matplotlib.pyplot as plt matplotlib.rcParams['mathtext.fontset']='stix' plt.xlim(0, 5.5) plt.ylim(-5, 100) ...
分类:其他好文   时间:2021-04-05 12:14:03    阅读次数:0
内置函数_id
id(): 以数字形式查看内存地址 示例代码: s = 'hello' print(id(s)) # 139620916353264 View Code ...
分类:其他好文   时间:2021-04-05 11:55:25    阅读次数:0
高阶函数_filter
filter介绍与作用: """ 1. 说明: 在Python2中是一个内置函数,在Python3中它是内置类 内置函数和内置类都在[builtin.py]文件中 2. 作用: 对可迭代对象进行过滤,遍历完后得到一个filter对象。 3. 格式: filter(函数名, 可迭代对象)""" 示例代 ...
分类:其他好文   时间:2021-04-05 11:51:47    阅读次数:0
Best Time to Buy and Sell Stock
暴力求解法,直接遍历求最大值 class Solution { public: int maxProfit(vector<int>& prices) { int maxprofit=0; for(int i=0;i<prices.size();i++) { for(int j=i+1;j<price ...
分类:其他好文   时间:2021-04-05 11:41:37    阅读次数:0
archivelog huge generation
selecttrunc(completion_time) as "Date",count(*) as "Count",((sum(blocks * block_size)) /1024 /1024) as "MB"from v$archived_loggroup by trunc(completio ...
分类:其他好文   时间:2021-04-02 13:31:01    阅读次数:0
顺序表
#include<stdio.h> #include<stdlib.h> #include<cstring> typedef int SLDataType; typedef struct SeqList { SLDataType* _data;/*需要动态开辟的数组*/ size_t _size;/ ...
分类:其他好文   时间:2021-04-02 13:28:47    阅读次数:0
字母异位词分组
题目描述 给定一个字符串数组,将字母异位词组合在一起。字母异位词指字母相同,但排列不同的字符串。 示例: 输入: ["eat", "tea", "tan", "ate", "nat", "bat"]输出:[ ["ate","eat","tea"], ["nat","tan"], ["bat"]] 思 ...
分类:其他好文   时间:2021-04-02 13:26:22    阅读次数:0
使用unittest形成Html的测试报告时报错TypeError: a bytes-like object is required, not 'str'
问题:在输出测试报告的时候,一直报错TypeError: a bytes-like object is required, not 'str';意思是:类型错误,需要类似字节的对象,而不是字符串 解决:百度了一下,网友给的方法很有效 改成下面这个 运行一下,果然没有报错了 但是又出现了新的问题,生成 ...
分类:Web程序   时间:2021-04-02 13:08:12    阅读次数:0
Leetcode每日一题 90.子集 II
90. 子集 II 给你一个整数数组 nums ,其中可能包含重复元素,请你返回该数组所有可能的子集(幂集)。 解集 不能 包含重复的子集。返回的解集中,子集可以按 任意顺序 排列。 示例 1: 输入:nums = [1,2,2] 输出:[[],[1],[1,2],[1,2,2],[2],[2,2] ...
分类:其他好文   时间:2021-04-01 13:33:49    阅读次数:0
52532条   上一页 1 ... 36 37 38 39 40 ... 5254 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!