码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
using System.Configuration显示灰色,当前上下文中不存在名称“ConfigurationManager”
问题: 在c#源代码中使用 ConfigurationManager 这个类,虽然引用了using System.Configuration这个包,但是编译时还是报错:错误 CS0103: 当前上下文中不存在名称“ConfigurationManager” 解决: 1、右键项目-> 添加 -> 引用 ...
分类:其他好文   时间:2020-06-03 15:58:04    阅读次数:51
P1765 手机
题目如下: 思路: 1.输入完成后会按enter 要记得\n也会被计入数字喔! 代码: #include<cstdio> #include<cstring>> #include<iostream> using namespace std; int main(){ string ss; getline ...
分类:移动开发   时间:2020-06-03 13:43:20    阅读次数:111
luogu P3572 [POI2014]PTA-Little Bird 单调队列优化dp
#include <cstdio> #include <iostream> using namespace std; int n,m,x; int hh,tt,a[1000001],q[1000001],f[1000001]; int read() { char ch=getchar(); int ...
分类:其他好文   时间:2020-06-03 13:40:21    阅读次数:64
操作系统概念 页面置换算法:分别使用FIFO、OPT、LRU三种置换算法来模拟页面置换的过程。
关于页面置换算法的理论知识: https://www.bilibili.com/video/BV1YE411D7nH?p=45 C++代码实现(未优化) #include<iostream> #include<fstream> #include<cstring> using namespace st ...
分类:编程语言   时间:2020-06-03 01:01:06    阅读次数:97
luogu P6113 【模板】一般图最大匹配 带花树
#include<bits/stdc++.h> #pragma GCC optimize(3) using namespace std; const int N=1009,M=100009; int n,m,ans,ord,q[M],pre[N]; int ql,qr,dfn[N],lk[N]; i ...
分类:其他好文   时间:2020-06-03 00:40:13    阅读次数:54
Array Basics
Java Program to Find Largest Element of an array In this program, you'll learn to find the largest element in an array using a for loop in Java. Examp ...
分类:其他好文   时间:2020-06-03 00:32:38    阅读次数:55
C#连接mysql数据库实现登陆注册界面
环境:Mysql 5.7.28 + VS2017 一、配置并测试Mysql数据库 1. 安装mysql 去mysql官网下载安装,可见安装教程 2. 在VS中添加引用 项目-->添加引用 选择“浏览”-->找到mysql安装文件夹中的MySql.Data.dll 3. 测试 添加 添加using M ...
分类:数据库   时间:2020-06-02 23:04:35    阅读次数:390
有意思的OWIN,附脱离iis的webapi
程序引用 using Owin; using Microsoft.Owin.Hosting; 新建一个控制台程序 Program class Program { static void Main(string[] args) { // string baseAddress = "http://loc ...
分类:Windows程序   时间:2020-06-02 22:53:22    阅读次数:93
【容斥例题】Devu and Flowers
#include<bits/stdc++.h> using namespace std; typedef long long LL; const int mod=1000000007; LL PowMod(LL x,LL n) { LL res=1; while(n) { if(n&1) { res ...
分类:其他好文   时间:2020-06-02 19:21:04    阅读次数:72
网络流24题 飞行员配对方案问题
题目链接 题解 很裸的网络流,加入源点和汇点对二分图求最大匹配,跑最大流就行了 记录方案只需要看对应边的剩余容量是否为0。 查看代码 #include <bits/stdc++.h> using namespace std; typedef long long ll; const int maxn ...
分类:其他好文   时间:2020-06-02 19:08:03    阅读次数:50
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!