码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
Codeforces Round #568题解
第一次遇到有9题的div2。。。 A题 排序后,伸展两边 #include<bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int,int> pll; const int N=2e5+10; const i ...
分类:其他好文   时间:2021-04-06 15:06:31    阅读次数:0
Codeforces Round #712 (Div. 2)(A~C)
A. Déjà Vu 本题的思路是找一个位置使得新添加的a所对应的字符不是a即可。 AC代码如下(可能写复杂了): #include<bits/stdc++.h> #define MAXN 300005 using namespace std; typedef long long ll; int t ...
分类:其他好文   时间:2021-04-06 14:48:59    阅读次数:0
Codeforces Round #712 (Div. 2) A~E 题解
本场链接:Codeforces Round #712 (Div. 2) A. Déjà Vu 签到题,尝试一下插入首位元素或者插入第一个不是a的位置.两者都不行必然是NO. #define _CRT_SECURE_NO_WARNINGS #include <bits/stdc++.h> using ...
分类:其他好文   时间:2021-04-06 14:34:27    阅读次数:0
wcf-学习
将服务寄宿与控制台: using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel; using System.ServiceModel.Description; using ...
分类:其他好文   时间:2021-04-06 14:33:05    阅读次数:0
WPF 控件绑定后台实体类实例
先创建后台实体类 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 using System. ...
分类:Windows程序   时间:2021-04-06 14:29:51    阅读次数:0
归并排序模板
归并排序模板 code: #include<cstdio> #include<cstring> #include<iostream> #include<algorithm> using namespace std; const int N = 1e5 + 10; typedef long long ...
分类:编程语言   时间:2021-04-05 12:52:30    阅读次数:0
x进制转10进制(通用版)
#include<bits/stdc++.h> using namespace std; int main(){ char s[105]; int x; scanf("%s%d",&s,&x); int ans=0; int len =strlen(s); for(int i=0;i<len;i++ ...
分类:其他好文   时间:2021-04-05 12:35:59    阅读次数:0
x进制转y进制(通用版)
#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
CCF-CSP-2016-04-1折点计数
链接: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
【XSY2407】【CF708C】Centroids 树形DP
题目描述 我们定义一个点$x$是整棵树的重心(总共有$n$个点)当且仅当删掉点x后所有连通块的大小都不超过$n/2$。我们定义一次操作为删掉一条边再加上一条边,必须满足操作后整个图还是一棵树。给你一棵$n$个点的树,求每个点能否在一次操作后成为重心。 输入 第一行一个整数$n$; 接下来$n-1$行 ...
分类:其他好文   时间:2021-04-05 12:25:59    阅读次数:0
53562条   上一页 1 ... 26 27 28 29 30 ... 5357 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!