码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
gtid 开启情况下数据的导入导出
[root@pxc3 mysql_gtid]# mysqldump -uroot -pmysql123 test >/tmp/test.sqlmysqldump: [Warning] Using a password on the command line interface can be inse ...
分类:其他好文   时间:2020-07-19 15:55:51    阅读次数:70
最长上升子序列
最长上升子序列 思路: 去过前面的数字小于当前数字,当前数字直接加入 否则 找到数组里面第一个>它的数字替换上 1 #include<bits/stdc++.h> 2 3 using namespace std; 4 int n,a; 5 vector<int> ve; 6 int main() { ...
分类:其他好文   时间:2020-07-19 11:44:52    阅读次数:52
linq延迟状态的执行
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace linq延迟状态终止 ...
分类:其他好文   时间:2020-07-19 11:32:54    阅读次数:69
倒三角
输入正整数 n <= 20 , 输出一个 n 层的倒三角。例如, n = 5 时输出如下 ######### ####### ##### ### # 代码如下 #include<iostream>using namespace std;int main(){ int n; int num=0; wh ...
分类:其他好文   时间:2020-07-19 11:31:57    阅读次数:125
Operation Love
C. Operation Love 先判断给定点是顺时针还是逆时针,然后再判断长度为6的边是在长度为9的边的左边还是右边即可 // Created by CAD #include <bits/stdc++.h> using namespace std; bool judge(vector<doubl ...
分类:其他好文   时间:2020-07-19 11:31:44    阅读次数:76
C++用Beep函数来弹钢琴
1 #include<windows.h> 2 #include<iostream> 3 #include<string> 4 using namespace std; 5 int stop=500; 6 int getFreq(char key){ 7 int freq=0; 8 switch(k ...
分类:编程语言   时间:2020-07-19 00:56:58    阅读次数:143
C++ unique去重的常用用法
1 #include <iostream> 2 #include <vector> 3 #include <algorithm> 4 5 using namespace std; 6 7 int main() 8 { 9 vector<int> nums{1,3,4,6,5,3,2,4,7,5}; ...
分类:编程语言   时间:2020-07-19 00:53:48    阅读次数:95
225.用队列实现栈
原题链接 题解 可以直接使用一个queue直接解决,在进行push()操作的时候,当我们每插入一个元素,都要保证我们新插入的元素要在队头,这就要每一次插入的时候进行队列的反转,因为从开始插入的时候就反转,所以我们新插入的元素的前面的元素都是符合要求的(即后面插入的数据比前面插入的数据在队列的前面), ...
分类:其他好文   时间:2020-07-19 00:51:50    阅读次数:75
CF163E e-Government(Ac自动机)
跑ac自动机后使用fail树建立dfs序后跑树状数组维护答案 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=1e6+10; struct node{ int cnt; node * nxt ...
分类:其他好文   时间:2020-07-19 00:37:01    阅读次数:84
CF1380G.Circular Dungeon
#include<bits/stdc++.h> using namespace std; typedef long long ll; const int maxn=3e5+100; const int mod=998244353; ll fpow (int x,int y) { ll ans=1; ...
分类:其他好文   时间:2020-07-18 22:52:12    阅读次数:105
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!