#include<bits/stdc++.h> using namespace std; int main(){ char s[105]; int x,y; while(scanf("%d %d",&x,&y)!=EOF){ scanf("%s",s); int ans=0; int len=str ...
分类:
其他好文 时间:
2021-04-05 12:35:26
阅读次数:
0
链接:http://118.190.20.162/view.page?gpid=T42 代码: #include<bits/stdc++.h> using namespace std; vector<int> ve; int main (){ int n,num; cin>>n; for(int i ...
分类:
其他好文 时间:
2021-04-05 12:29:58
阅读次数:
0
Springmvc的REST风格 REST概念 REST即表述性状态传递(英文:Representational State Transfer,简称REST)是Roy Fielding博士在2000年他的博士论文中提出来的一种软件架构风格。 它是一种针对网络应用的设计和开发方式,可以降低开发的复杂性 ...
分类:
编程语言 时间:
2021-04-02 13:24:12
阅读次数:
0
简单的模拟 #include<bits/stdc++.h> using namespace std; int main() { int n,m; cin>>n>>m; int sum=0,max_loss=0,max_index; for(int i=0;i<n;i++){ int temp_sum ...
分类:
移动开发 时间:
2021-04-02 13:12:46
阅读次数:
0
#include <stdio.h> int main() { int num; scanf("%d", &num); printf("2049%04d\n", num); scanf("%d", &num); printf("2049%04d\n", num); scanf("%d", &num) ...
分类:
其他好文 时间:
2021-04-02 13:06:58
阅读次数:
0
关于map的按照value排序输出;会错题意,但是华为实习笔试是这个思路,按照map的value排序输出。 #include<iostream> using namespace std; #include<string> #include<map> #include<vector> #include ...
分类:
编程语言 时间:
2021-04-01 13:44:57
阅读次数:
0
VIII.[SDOI2008]Sandy的卡片 ……有什么意义吗…… 差个分,然后就是IV.[POI2000]公共串的内容了,套个单调队列,$O(n)$解决,假如你用DC3的话。 代码: #include<bits/stdc++.h> using namespace std; int all,n,m ...
分类:
其他好文 时间:
2021-04-01 13:08:31
阅读次数:
0
1 #include<iostream> 2 #include<cstring> 3 #include<cstdlib> 4 using namespace std; 5 struct node* create1(string); 6 struct node* create2(string); 7 ...
分类:
编程语言 时间:
2021-03-31 12:29:24
阅读次数:
0
/* c++ 中 std::sort()使用了快速排序的算法,下面看下它的实现算法 快速排序的基本思想:通过一趟排序将待排记录分割成独立的两部分,其中一部分记录的数字均比另一部分数字小,则可分别对这两部分进行排序,以达到整个序列有序。 算法描述:https://www.bilibili.com/vi ...
分类:
编程语言 时间:
2021-03-31 11:41:36
阅读次数:
0
中间件的多种引用方式 1. 中间件的内容可以独立开,放入一个独立的类中去。类的结构必须如下定义: 要求:构造函数带有RequestDelegate参数类型。为了得到下一个中间件; 必须包含 async Task Invoke方法,方法参数为HttpContext 2. 在Startup 中把这些中间 ...
分类:
Web程序 时间:
2021-03-30 13:22:09
阅读次数:
0