地址 https://pintia.cn/problem-sets/994805342720868352/problems/994805502658068480 主要是模拟 题意比较绕。 题目大意是 接受各个学生的三门成绩 C M E, 然后四舍五入计算出平均成绩A 在 接受询问的学生的id后 打印 ...
分类:
其他好文 时间:
2021-02-16 11:53:57
阅读次数:
0
Valid Anagram (E) 题目 Given two strings s and t , write a function to determine if t is an anagram of s. Example 1: Input: s = "anagram", t = "nagaram" ...
分类:
其他好文 时间:
2021-02-15 12:41:17
阅读次数:
0
{ path: '/teacher', component: Layout, redirect: '/teacher/table', //重定向跳转 name: '讲师管理', meta: { title: '讲师管理', icon: 'example' }, //title页面标题,icon头像 ...
分类:
其他好文 时间:
2021-02-15 12:11:54
阅读次数:
0
Given the root of a binary tree, return the leftmost value in the last row of the tree. Example 1: Input: root = [2,1,3] Output: 1 Example 2: Input: r ...
分类:
其他好文 时间:
2021-02-10 12:54:11
阅读次数:
0
#随便写个,引用下python的import this Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than com ...
分类:
其他好文 时间:
2021-02-09 11:44:21
阅读次数:
0
音频判断:librosa和 matplotlib Librosa是音频识别的包 matplotlib是音频转图片可视化的包 命令下载: pip install librosa -i https://mirrors.ustc.edu.cn/pypi/web/simple pip install mat ...
分类:
其他好文 时间:
2021-02-08 12:45:04
阅读次数:
0
There are n gas stations along a circular route, where the amount of gas at the ith station is gas[i]. You have a car with an unlimited gas tank and i ...
分类:
其他好文 时间:
2021-02-08 11:44:08
阅读次数:
0
问题: 给定一组字符串数组, 有这些字符串合并构成不存在重复字符的“集连字符串” 求该集连字符串最大长度。 Example 1: Input: arr = ["un","iq","ue"] Output: 4 Explanation: All possible concatenations are ...
分类:
其他好文 时间:
2021-02-06 12:15:04
阅读次数:
0
说明 共用了两种方法进行检测 方法1: 使用opencv的canny进行边缘检测,在此之前先变灰和加入高斯模糊 方法2: 对图片二值化,随后找到关键点,并在空白画板画关键点 代码 import cv2 as cv import numpy as np # 读路径下的图片 img = cv.imrea ...
分类:
其他好文 时间:
2021-02-05 10:53:28
阅读次数:
0
配置多个git账户,以公司和个人为例 1.打开终端输入以下命令 //生成公司ssh-keygen ssh-keygen -t rsa -b 4096 -C "your_email@example.com" //生成个人ssh-keygen ssh-keygen -t rsa -C "your_ema ...
分类:
系统相关 时间:
2021-02-05 10:43:17
阅读次数:
0