码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
C# tcp
用的c#自带的对socket进一步封装的函数,下面是代码: 服务端: using System; using System.Net; using System.Net.Sockets; using System.Text; namespace tcpServer { class Program { ...
分类:Windows程序   时间:2020-07-27 09:19:44    阅读次数:94
VJ A - Three Indices 7.26
#include<bits/stdc++.h>#define ll long long#define speed_up ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);using namespace std;const ll nl=1e5+5;/ ...
分类:其他好文   时间:2020-07-26 23:23:20    阅读次数:105
结构体内的一些操作
结构体内的一些操作 重载 #include <bits/stdc++.h> using namespace std; struct test { int a, b; friend bool operator < (const test &x, const test &y) { return x.a ...
分类:其他好文   时间:2020-07-26 23:02:39    阅读次数:72
C#.netmvc单文件上传 ajax上传文件
写到到数据库的模型 using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace ...
分类:Windows程序   时间:2020-07-26 22:58:41    阅读次数:95
君仙小一时的第二周温习
我是先写的Model的表: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Compone ...
分类:其他好文   时间:2020-07-26 22:51:44    阅读次数:79
2015-03 (不懂)
等式变换输入一个正整数X,在下面的等式左边的数字之间添加+号或者-号,使得等式成立。1 2 3 4 5 6 7 8 9 = X比如:12-34+5-67+89 = 51+23+4-5+6-7-8-9 = 5请编写程序,统计满足输入整数的所有整数个数。输入: 正整数,等式右边的数字输出: 使该等式成立 ...
分类:其他好文   时间:2020-07-26 19:46:27    阅读次数:73
.net core 如何向elasticsearch中创建索引,插入数据。
首先我们要建一个webapi工程,然后下载两个插件: 1,Nest 2,Elasticsearch.Net 下载后,下面就上代码了,首先是elasticsearchHelp帮助类 using Elasticsearch.Net; using Nest; using System; namespace ...
分类:Web程序   时间:2020-07-26 19:09:34    阅读次数:117
【模板】后缀自动机 (SAM)
P3804 【模板】后缀自动机 (SAM) 参考: 不同子串个数 用d[i]来表示该状态点是否为终止点,最后利用每个点的后缀链接形成一棵树,每个点所表示的最长字符串都是其子树中各节点的最长公共后缀。 // Created by CAD #include <bits/stdc++.h> using n ...
分类:其他好文   时间:2020-07-26 19:05:13    阅读次数:52
Acwing 180.排书 (IDEA*)
##题面 给定n本书,编号为1-n。 在初始状态下,书是任意排列的。 在每一次操作中,可以抽取其中连续的一段,再把这段插入到其他某个位置。 我们的目标状态是把书按照1-n的顺序依次排列。 求最少需要多少次操作。 输入格式 第一行包含整数T,表示共有T组测试数据。 每组数据包含两行,第一行为整数n,表 ...
分类:Windows程序   时间:2020-07-26 15:50:39    阅读次数:73
排列与组合
排列 #include<iostream> #include<iomanip> using namespace std; int a[25]; bool b[25]; int n,m; void print() { for(int i=1;i<=m;i++) cout<<setw(3)<<a[i]; ...
分类:其他好文   时间:2020-07-26 15:48:22    阅读次数:54
53562条   上一页 1 ... 97 98 99 100 101 ... 5357 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!