码迷,mamicode.com
首页 >  
搜索关键字:using 127.0.0.1 for servername    ( 53996个结果
HDU4089Activation
Aimee 想出状态转移的难度很小 很强的题解 #include<iostream> #include<cstdio> #include<cmath> #include<algorithm> #include<cstring> using namespace std; const int maxn= ...
分类:其他好文   时间:2021-02-03 10:32:32    阅读次数:0
Hie with the Pie
Aimee 很显然的状压dp $f_{i,j}$表示在i这个集合,最后停在了j时的最小长度 转移就行了 #include<iostream> #include<cstdio> #include<algorithm> #include<cstring> using namespace std; int ...
分类:其他好文   时间:2021-02-02 11:22:43    阅读次数:0
unityZXing二维码的生成与扫描
借鉴自某位大佬不记得了 using System.Collections; using System.Collections.Generic; using UnityEngine; using ZXing; using UnityEngine.UI; /// <summary> /// 二维码扫描识 ...
分类:编程语言   时间:2021-02-02 11:05:42    阅读次数:0
按引用传递参数
#include <iostream>using namespace std; const double pi = 3.14159;//double Area(double radius)//{// double result = 0;// return result = pi * radius * ...
分类:其他好文   时间:2021-02-02 10:32:23    阅读次数:0
AtCoder Beginner Contest 190
A: Takahashi和Aoki分别有A和B颗糖果,两人轮流吃一个,若C为0则Takahashi先吃,C为1则Aoki先吃,先吃完的为输。 1 #include <iostream> 2 #include <cstdio> 3 #include <vector> 4 #include <algor ...
分类:其他好文   时间:2021-02-01 12:36:03    阅读次数:0
asp.net core 记录二
Demo11地址:http://42.194.219.152:8099/Movies Web应用MVC 在 Startup.cs 文件的 Configure 方法中设置路由格式。 app.UseEndpoints(endpoints => { endpoints.MapControllerRoute ...
分类:Web程序   时间:2021-02-01 12:35:23    阅读次数:0
AcWing 1351. 密码锁
原题链接 考察:暴力枚举 完全是因为有容斥原理才做了这题,结果这题和容斥原理有啥关系... 思路: dfs枚举所有可能性 1 #include <iostream> 2 #include <algorithm> 3 #include <set> 4 #include <vector> 5 using ...
分类:Windows程序   时间:2021-02-01 12:23:26    阅读次数:0
有向图邻接矩阵代码实现
1 //有向图邻接矩阵代码实现 2 3 #include<iostream> 4 using namespace std; 5 #define MaxVertex 50 //最多顶点个数 6 typedef char VertexInfo[9];//定义顶点的名字 7 //定义图的数据结构 8 st ...
分类:其他好文   时间:2021-02-01 11:44:56    阅读次数:0
c++数组中最大值和最小值相加
源程序 #include <iostream>using namespace std;void main(){ int a[6]={23,15,64,33,40,58}; int s1,s2; s1=s2=a[0]; for(int *p=a+1;p<a+6;p++) { if(s1 > *p) s ...
分类:编程语言   时间:2021-02-01 11:40:52    阅读次数:0
信息学竞赛中C语言的输入输出
不像C中使用 iostream 库,在C语言中,通过函数的形式进行输入和输出。C语言中最普遍的输入函数是 scanf,输出函数是 printf。 我们通过下面两个示例程序来比较一下C和C的输入输出的区别。 C++输入输出示例: #include <iostream> using namespace ...
分类:编程语言   时间:2021-02-01 11:39:08    阅读次数:0
53996条   上一页 1 ... 43 44 45 46 47 ... 5400 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!