码迷,mamicode.com
首页 >  
搜索关键字:support vector machi    ( 18250个结果
莫队模版
#include <algorithm> #include <string> #include <cstring> #include <vector> #include <map> #include <stack> #include <set> #include <queue> #include < ...
分类:其他好文   时间:2020-07-24 23:42:50    阅读次数:81
使用re2库实现简单的正则表达式匹配
reg_test.cpp内容如下: #include <vector> #include <fmt/format.h> #include <console_color.h> #include <re2/re2.h> using namespace re2; using namespace std; ...
分类:其他好文   时间:2020-07-24 21:48:06    阅读次数:101
线程(一)
线程安全:StringBuilder非线程 StringBuffer线程 / Vector线程 ArrayList非线程 / 快速迭代时不能有其他线程进行操作 进程:操作系统结构的基础:是一个正在执行的程序,计算机中正在运行的程序实例 线程:线程(thread)是进程中某个单一顺序的控制流,是程序运 ...
分类:编程语言   时间:2020-07-24 15:32:23    阅读次数:61
NEU_Train_Camp_2020_基础数据结构
title: NEU_Train_Camp_2020_基础数据结构 date: 2020-07-13 21:13:03 tags: c++ categories: New cover: 基础数据结构 A - Web Navigation POJ-1028 #include <string> #inc ...
分类:其他好文   时间:2020-07-24 09:31:06    阅读次数:74
android TabLayout 相关
1. TabLayout 设置 指示条 颜色、高度,字体颜色大小等 <android.support.design.widget.TabLayout android:id="@+id/tab_layout" android:layout_width="wrap_content" android:la ...
分类:移动开发   时间:2020-07-23 22:43:50    阅读次数:86
LC1008 Construct Binary Search Tree from Preorder Traversal
根据BST的前序遍历重建BST 1. 平均O(NlogN) 最坏O(N^2) class Solution { public: TreeNode* dfs(int l, int r, vector<int>& p) { if (l > r) return nullptr; TreeNode* nod ...
分类:其他好文   时间:2020-07-23 16:13:09    阅读次数:67
leetcode268 缺失数字(Easy)
题目来源:leetcode268 缺失数字 题目描述: 给定一个包含 0, 1, 2, ..., n 中 n 个数的序列,找出 0 .. n 中没有出现在序列中的那个数。 示例 1: 输入: [3,0,1] 输出: 2 示例 2: 输入: [9,6,4,2,3,5,7,0,1] 输出: 8 说明: ...
分类:其他好文   时间:2020-07-23 16:04:59    阅读次数:78
leetcode217 存在重复元素(Easy)
题目来源:leetcode217 存在重复元素 题目描述: 给定一个整数数组,判断是否存在重复元素。 如果任意一值在数组中出现至少两次,函数返回 true 。如果数组中每个元素都不相同,则返回 false 。 示例 1: 输入: [1,2,3,1] 输出: true 示例 2: 输入: [1,2,3 ...
分类:其他好文   时间:2020-07-23 16:02:58    阅读次数:60
剑指 Offer 12. 矩阵中的路径 - 7月23日
题目 剑指 Offer 12. 矩阵中的路径 我的思路 深度优先搜索,递归实现。 注意剪枝时需要恢复没走过的路径。 我的实现 class Solution { public: bool search(int cor_x,int cor_y,int str_pos,vector<vector<char ...
分类:其他好文   时间:2020-07-23 15:51:14    阅读次数:66
第46月第23天 iOS强制横屏
1. 在AppDelegate.m中添加转屏的代理方法 - (UIInterfaceOrientationMask)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(nullable U ...
分类:移动开发   时间:2020-07-23 15:45:13    阅读次数:67
18250条   上一页 1 ... 43 44 45 46 47 ... 1825 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!