码迷,mamicode.com
首页 >  
搜索关键字:const    ( 26295个结果
【Luogu1903】数颜色(带修莫队)
Link: https://www.luogu.com.cn/problem/P1903 Solution 这个 sort 我暂且蒙在鼓里 先贴个代码。 本来我 T 了三个点的 cmp 函数如下 bool cmp(const s_q &a, const s_q &b) { if (belong[a. ...
分类:其他好文   时间:2020-11-21 11:54:33    阅读次数:4
JAVA基础
JAVA 基础 一 基本语法 注释 标识符 由字母、数字、下划线(_)和美元符号($)组成 不能以数字开头 不能是关键字 关键字 const goto 是保留关键字 true false null 不属于关键字,是一个单独的标识类型 运算符 常量 整型常量 二进制 0B 0b 八进制 0开头 十进制 ...
分类:编程语言   时间:2020-11-21 11:51:02    阅读次数:40
[2020.11.15]CCPC Final 2019
cf gym 链接 A. Kick Start 简单签到题。 code: #include<bits/stdc++.h> #define pi pair<int,int> #define f first #define s second using namespace std; const stri ...
分类:其他好文   时间:2020-11-21 11:48:03    阅读次数:4
Effective C++的50条建议
2020年11月16日16:11:06 尽量用const和inline而不用#define 尽量用编译器而不用预处理。 尽量用<iostream>而不用<stdio.h> scanf和printf很有用,但不是类型安全的,而且没有扩展性。 on the other hand,①有些iostream的 ...
分类:编程语言   时间:2020-11-20 12:22:07    阅读次数:24
点击按钮,复制文本
$('body').on('tap', '.copy-btn', function (e) { e.preventDefault(); e.stopPropagation(); const range = document.createRange(); range.selectNode($(this ...
分类:其他好文   时间:2020-11-20 12:20:18    阅读次数:20
后台中src-router-index.js文件详情
后台中src-router-index.js文件详情 import Vue from 'vue' import VueRouter from 'vue-router' // import Login from '../components/Login.vue' const Login = () => ...
分类:Web程序   时间:2020-11-20 11:59:20    阅读次数:15
AT2582 [ARC075D] Mirrored
首先因为这个问题的解的范围我们是不清楚的,可以先考虑一下解的范围以便后面的解题。 那么我们可以大胆猜测这个数的位数应该不会很长,否则除非使用一条与 \(D\) 有关的式子外,不论我们用什么方法都计算不出来了。 进一步观察可以发现,这个数的位数不会超过 \(D\) 的位数的两倍,证明如下(利用反证法) ...
分类:其他好文   时间:2020-11-19 13:04:09    阅读次数:30
Spring Boot Sample 024之spring-boot-data-influxdb
一、环境 Idea 2020.1 JDK 1.8 maven 二、目的 spring boot 通过整合influxdb gitHub地址: https://github.com/ouyushan/ouyushan-spring-boot-samples 三、步骤 3.1、点击File → New ...
分类:数据库   时间:2020-11-19 12:55:13    阅读次数:14
动态规划-tsp
1 #include <iostream> 2 #include <cstdio> 3 #include <memory.h> 4 using namespace std; 5 const int INF=0x3f3f3f3f,city=4; 6 int main(){ 7 int a[city][ ...
分类:其他好文   时间:2020-11-19 12:53:22    阅读次数:10
常见sqlite3 API的简单使用(5)
防止sql注入 char *sqlite3_mprintf(const char*,...); void sqlite3_free(void*); sqlite3_mprintf 用来代替sprintf 来防止sql注入。 sqlite3_mprintf的内部操作: ?会将%Q,替换成给定的字符串。 ...
分类:数据库   时间:2020-11-19 12:42:05    阅读次数:11
26295条   上一页 1 ... 61 62 63 64 65 ... 2630 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!