码迷,mamicode.com
首页 >  
搜索关键字:rgb ffffff 255    ( 8712个结果
hash
#include <bits/stdc++.h> typedef unsigned long long ll; const ll P=1331; using namespace std; ll hash1[1000000],u[1000000]; ll get(int l,int r){ retur ...
分类:其他好文   时间:2021-04-27 15:00:27    阅读次数:0
表达式求值
#include <iostream> #include <stack> #include <cstring> #include <unordered_map> using namespace std; typedef long long ll; stack<int>num; stack<char> ...
分类:其他好文   时间:2021-04-27 14:59:52    阅读次数:0
Centos 7建立本地内网源
原文地址: https://blog.csdn.net/oToyix/article/details/106170701 repo的路径不要放到root下,放到/usr/share/nginx/下,要不没权限 Centos 7建立本地内网源一、环境二、先配置163base源及阿里epel源三、建立本 ...
分类:其他好文   时间:2021-04-27 14:52:02    阅读次数:0
解决mysql遇到非root权限无法登录mysql数据库的问题
1.在root权限下登录mysql 2.进入mysql库 mysql>use mysql 3.查看root用户权限 mysql>select User,Host,plugin from user; 4.将root用户的auth_sock改为mysql_native_password mysql>up ...
分类:数据库   时间:2021-04-27 14:42:37    阅读次数:0
The body of a for-in should be wrapped in an if statement to filter unwanted properties from the pro
ESLint模式下for in遍历对象会报错,可以这样解决: let val = { shu: [1, 2, 3] }; for (let item in val) { if (val.hasOwnProperty(item)) { console.log(item); } } 因为我们在遍历一个对 ...
分类:移动开发   时间:2021-04-27 14:25:28    阅读次数:0
for..in loops iterate over the entire prototype chain, which is virtually never what you want.
for..in loops iterate over the entire prototype chain, which is virtually never what you want. 意思是使用for..in会遍历整个原型链,这样不是很好的实现方法,推荐使用Object.keys formRu ...
分类:其他好文   时间:2021-04-27 14:24:47    阅读次数:0
【帆吖】Java学习零基础06
自增,自减&&逻辑运算符&&位运算符 1 package operator; 2 3 public class Demo4 { 4 public static void main(String[] args) { 5 //++ -- 自增 自减 一元运算符 6 int a=3; 7 8 int b= ...
分类:编程语言   时间:2021-04-27 14:20:46    阅读次数:0
leetcode25 K个一组翻转链表
思路: 模拟。 实现: 1 /** 2 * Definition for singly-linked list. 3 * struct ListNode { 4 * int val; 5 * ListNode *next; 6 * ListNode() : val(0), next(nullptr) ...
分类:其他好文   时间:2021-04-26 13:49:52    阅读次数:0
vuex 中getters、mutations、actions的使用实例
index.js import Vue from 'vue'; import Vuex from 'vuex'; import base from './modules/base'; import user from './modules/user'; Vue.use(Vuex); // store ...
分类:其他好文   时间:2021-04-26 13:39:52    阅读次数:0
Linux(Ubuntu)下查看摄像头是否挂载及挂载的USB端口号
1、查看摄像头是否已经挂载的命令 方法一: ls /dev/video* 方法二: ls /dev | grep video 或 ls /dev | grep video* 2、如果有多个USB端口,则通过以下命令查看摄像头挂载的端口号 ls -l /sys/class/video4linux/vi ...
分类:系统相关   时间:2021-04-26 13:37:52    阅读次数:0
8712条   上一页 1 ... 30 31 32 33 34 ... 872 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!