LeetCode第235场周赛题解 截断句子 按照题目要求模拟即可,把单词读入到vector中,然后按要求拼接即可 class Solution { public: string truncateSentence(string s, int k) { vector<string> a; string ...
分类:
其他好文 时间:
2021-04-06 14:34:00
阅读次数:
0
Shortcut Keys Configure Summary You can use shortcut keys to quickly insert or modify styles or do other operations supported by Typora. You can find ...
分类:
其他好文 时间:
2021-04-06 14:21:02
阅读次数:
0
一、问题处理 1、原因: 打包后的css里明显已经是乱码,这就说明打包出了问题,element-ui是要用node-sass来打包,所以要更换。 2、解决方法: 卸载sass: npm uninstall sass 安装node-sass: npm install node-sass -D ...
分类:
其他好文 时间:
2021-04-02 13:32:43
阅读次数:
0
关于map的按照value排序输出;会错题意,但是华为实习笔试是这个思路,按照map的value排序输出。 #include<iostream> using namespace std; #include<string> #include<map> #include<vector> #include ...
分类:
编程语言 时间:
2021-04-01 13:44:57
阅读次数:
0
Linux命令 1.Linux文件相关的命令 1.1 find 查找文件或目录 语法:find [搜索范围][匹配条件] 参数说明 -name:按文件名称查找 -user:按文件拥有者查找 -size:按照文件大小查找(+n大于,-n小于,n等于) [root@localhost ~]# find ...
分类:
系统相关 时间:
2021-03-31 12:14:17
阅读次数:
0
批量更新某个字段 例1: db.getCollection('bond_sentiment_news').find({"source" : 2,"siteUrl" : "http://www.21jingji.com/"}).forEach( function(item){ db.getCollec ...
分类:
数据库 时间:
2021-03-31 12:11:19
阅读次数:
0
参照:elementUI官方文档 https://element.eleme.cn/#/zh-CN/component/form 常见错误,几个要点: <template>中 1.<el-form>标签中, model 和 rules属性 未填 2.<el-form-item>标签中,prop属性 ...
分类:
其他好文 时间:
2021-03-30 13:56:39
阅读次数:
0
给一个数组和目标值target 返回和为target的两个数的下标 方法:哈希表法 一些常用的哈希表方法: find(key)查找哈希表中是否存在key,存在的话返回该键值对的迭代器;不存在的话返回end()迭代器。 迭代器 it->first是键key;it->second是值value。 数组可 ...
分类:
其他好文 时间:
2021-03-30 13:43:03
阅读次数:
0
啊啊啊~ 目的 1、考虑图像预处理的合理性和结果。能达到什么样的结果,该结果是否满足我的需要,如果多余是否有删除的必要? 2、切割问题,他是怎样实现字符的切割的?字符之间识别的依据和划定该依据的标准是什么? Part 1 % function [d]=main() close all clc % 清 ...
分类:
其他好文 时间:
2021-03-30 13:15:22
阅读次数:
0
原文:https://blog.csdn.net/github_39577257/article/details/81842234 一、关于Feign在微服务架构开发是,我们常常会在一个项目中调用其他服务,其实使用Spring Cloud Rbbon就能实现这个需求,利用RestTemplate 的 ...
分类:
编程语言 时间:
2021-03-30 12:46:18
阅读次数:
0