码迷,mamicode.com
首页 >  
搜索关键字:const    ( 26295个结果
实验五
#include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", &a[i] ...
分类:其他好文   时间:2021-06-02 12:09:15    阅读次数:0
实验五
#include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", &a[i] ...
分类:其他好文   时间:2021-06-02 12:07:29    阅读次数:0
vue 下载pdf url
const url = data.data.url // const url = window.URL.createObjectURL(new Blob([data.data.url])) const link = document.createElement('a') // 创建a标签 link. ...
分类:Web程序   时间:2021-06-02 11:14:37    阅读次数:0
实验5
任务1#include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", &a ...
分类:其他好文   时间:2021-06-02 10:47:49    阅读次数:0
JS 对象解构时候的重命名及默认值设置
const obj = { a: 1, b: 2, c: 3 } const { a: a1, b: b2, c: c3, d: d4 = "default" } = obj 通过上面对 obj 对象的结构,会得到 a1、b2、c3 和 d4 这 4 个变量,同时由于 obj 里面没有 d 属性,所 ...
分类:Web程序   时间:2021-05-25 18:38:20    阅读次数:0
C++ 获取GUID
C++ 获取GUID #include <objbase.h> #include <stdio.h> //--生成GUID const char* newGUID() { static char buf[64] = {0}; GUID guid; if (S_OK == ::CoCreateGuid ...
分类:编程语言   时间:2021-05-25 18:10:12    阅读次数:0
最小费用最大流
#include<bits/stdc++.h> using namespace std; typedef long long ll; namespace MCMF { const int MAXN = 10000, MAXM = 10000, INF = 0x7fffffff; int head[M ...
分类:其他好文   时间:2021-05-25 17:42:56    阅读次数:0
可选链操作
<script> function main(config){ // const dbHost = config && config.db && config.db.host; const dbHost =config?.db?.host; console.log(dbHost); // 192.1 ...
分类:其他好文   时间:2021-05-25 17:41:36    阅读次数:0
O(logn)最长上升子序列并输出
O(logn)最长上升子序列并输出 +++ pre数组记录转移。 #include <iostream> #include <cstdio> #include <cstring> #include <algorithm> using namespace std; const int N = 1e6 ...
分类:其他好文   时间:2021-05-25 17:36:48    阅读次数:0
[C++]二叉搜索树
二叉搜索树 预备知识 二叉链存图 Bolg 感谢: 代码参考:CSDN博主「chudongfang2015」的原创文章 链接 原理讲述 作用 用于对数据有序的排列 其中最典型的就是对数组进行有序排列 此片中也以此为模板 性质 对于树中的每一个节点 其左子树的数据均比次节点的数小 其右子树的数据均比次 ...
分类:编程语言   时间:2021-05-24 17:18:38    阅读次数:0
26295条   上一页 1 ... 13 14 15 16 17 ... 2630 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!