码迷,mamicode.com
首页 >  
搜索关键字:using 127.0.0.1 for servername    ( 53996个结果
[CF1467C] Three Bags - 思维
给定 3 个集合,每个集合里有若干个数,每次可以从一个集合选择一个数 a,从另一个集合选择一个数 b,令 a=a-b,并且删除 b。操作到只剩下一个数为止。求剩下的这个数的最大值。 ...
分类:其他好文   时间:2021-01-30 12:18:25    阅读次数:0
【模板】主席树b( ̄▽ ̄)d
传送 1 #include<iostream> 2 #include<cstdio> 3 #include<cstring> 4 #include<algorithm> 5 using namespace std; 6 int cnt=0,original_value[9000001]={0},a[ ...
分类:其他好文   时间:2021-01-30 11:54:44    阅读次数:0
HDU 1022 Train Problem I 模拟
#include<iostream> #include<stack> #include<vector> #include<cstring> using namespace std; int n; char s1[10], s2[10]; vector<int> p; //记录顺序 stack<cha ...
分类:其他好文   时间:2021-01-30 11:54:10    阅读次数:0
kakfa 报错“Will not attempt to authenticate using SASL”
报错如下: 导致上述错误的原因有很多,下面列出常见错误 1.调整连接超时时间 zookeeper.connection.timeout.ms=6000 连接超时更新60000,即60秒,默认是6秒。 2.kafka配置文件中的zookeeper连接的ip或者端口配置错误 zookeeper.conn ...
分类:其他好文   时间:2021-01-29 11:59:37    阅读次数:0
hdu1042 N!
题目链接: hdu1042 N! \(c\)++ \(AC\) 代码: /** * hdu1042 N! * 0 <= N <= 10000 */ #include <iostream> #include <iomanip> #include <cstring> using namespace st ...
分类:其他好文   时间:2021-01-28 12:11:11    阅读次数:0
Cleaning the Phone
链接 : https://codeforces.com/contest/1475/problem/D 排序 + 双指针 #include <bits/stdc++.h> using namespace std; #define IO ios::sync_with_stdio(false);cin.t ...
分类:其他好文   时间:2021-01-28 12:04:58    阅读次数:0
C#生成二维码,返回Base64字符
using ThoughtWorks.QRCode.Codec; public static string GetQrCodeImage() { //二维码生成对象,需引用DLL QRCodeEncoder qrCodeEncoder = new QRCodeEncoder(); qrCodeEnc ...
分类:Windows程序   时间:2021-01-28 12:02:48    阅读次数:0
队列(c++容器queue实现)
#include<iostream> #include<queue>//队列容器 #include<string> using namespace std; class person{ public: person(string name,int age){ m_name=name; m_age=a ...
分类:编程语言   时间:2021-01-28 11:59:27    阅读次数:0
浅析Asp.Net Core框架IConfiguration配置
目录 一、建造者模式(Builder Pattern) 二、核心接口与配置存储本质 三、简易QueryString配置源实现 四、宿主配置与应用配置 五、文件配置源配置更新原理 一、建造者模式 为什么提建造者模式?在阅读.NET Core源码时,时常碰到IHostBuilder,IConfigura ...
分类:Web程序   时间:2021-01-28 11:52:51    阅读次数:0
C++中私有继承公有化
当私有继承时,基类的所有public成员都变成了private。如果希望它们中的任何一个 是可视的,只要用派生类的public部分声明它们的名字即可: #include<iostream>using namespace std; class Pet {public: char eat() const ...
分类:编程语言   时间:2021-01-27 14:01:01    阅读次数:0
53996条   上一页 1 ... 44 45 46 47 48 ... 5400 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!