码迷,mamicode.com
首页 >  
搜索关键字:using temporary    ( 54256个结果
sizeof
#include <stdio.h> #include <iostream> using namespace std; class abc { private: int a; int b; }; int main() { cout << "Hello, World!" << endl; cout < ...
分类:其他好文   时间:2021-04-22 15:25:05    阅读次数:0
L2-011 玩转二叉树 (25 分)
题目大意 给一个二叉树的中序遍历和前序遍历,求其镜像后的层序遍历 类似于 L2-006 树的遍历 (25 分) 建树 镜像就在dfs的时候先输出右子树 再 左子树 #include<bits/stdc++.h> using namespace std; struct node { int l,r; ...
分类:其他好文   时间:2021-04-21 12:12:05    阅读次数:0
Mysql查询数据库中的表名/模糊查询
查询你想要的表名:select table_name,tablespace_name,status,temporary from user_tables where table_name like '%tab_name%';tab_name 为要查表名的其中一部分。如:你要查表名中有order的表名 ...
分类:数据库   时间:2021-04-21 12:08:25    阅读次数:0
C#中使用笛卡尔积方法得出穷举所有组合
借鉴微博:https://blog.csdn.net/zhifeiya/article/details/42919047 核心代码: using System;using System.Collections;using System.Collections.Generic;using System ...
分类:Windows程序   时间:2021-04-21 12:01:42    阅读次数:0
PAT 1022 Werewolf PAT顶级
爆搜,按照题意来搜。。。 太难写了,当模拟写的,代码分成了很多块,长度比较难看。。。 #include<bits/stdc++.h> using namespace std; #define ll long long #define fastio ios::sync_with_stdio(false ...
分类:其他好文   时间:2021-04-20 15:37:24    阅读次数:0
数据结构-模板-并查集(路径压缩+按秩合并)
所谓并查集就是将编号为1~n的n个对象划分为不相交集合,在每个集合中,选择其中的某个元素代表所在集合在这个集合中,并查集的操作有初始化,合并,查找。 #include<bits/stdc++.h> using namespace std; #define IOS ios::sync_with_std ...
分类:其他好文   时间:2021-04-20 15:31:02    阅读次数:0
算法-初次尝试-模拟退火
我对模拟退火的初步理解,还没深入了解过。这里只是用模拟退火求函数极值。 题目:https://vjudge.net/problem/HDU-2899 #include<bits/stdc++.h> using namespace std; #define IOS ios::sync_with_std ...
分类:编程语言   时间:2021-04-20 15:29:36    阅读次数:0
leetcode 5736 周赛 单线程cpu 优先队列和排序
通过这个题熟悉了下iota的用法,vector自定义排序(根据另一个数组来排当前的数组) 优先队列对pair数据的处理方式,很好的一道题 1 class Solution { 2 public: 3 using PII = pair<int,int>;//type def 4 5 vector<in ...
分类:编程语言   时间:2021-04-20 15:19:37    阅读次数:0
十大经典排序之基数排序(C++实现)
#基数排序 也是采用分桶的思想,但是加入了按位比较的思想(可以理解为每位进行一次计数排序) 思路: 计算数列中最大位数 按位数循环处理每位的排序 代码实现: #include<iterator> #include<iostream> #include<vector> using namespace ...
分类:编程语言   时间:2021-04-20 15:17:05    阅读次数:0
Win32 进程操作
创建线程 #include<iostream> #include<windows.h> using namespace std; DWORD WINAPI PROCESST1(LPVOID param); DWORD WINAPI PROCESST2(LPVOID param); DWORD WIN ...
分类:Windows程序   时间:2021-04-20 15:05:36    阅读次数:0
54256条   上一页 1 ... 20 21 22 23 24 ... 5426 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!