xuanweiace
xuanweiace
全部文章
未归档
2018暑假 第一周 训练2(1)
2018暑假 第三周 训练1(1)
2018暑假 第三周 训练2(1)
2018暑假 第五周 训练3(1)
bfs(6)
bzoj(2)
Codeforce~(25)
dfs(8)
dfs+剪枝(1)
Dijkstra算法(4)
FZU(1)
HDU(20)
HihoCoder(2)
Java(1)
KMP~(3)
luogu(1)
nyoj(1)
PAT(2)
POJ(11)
Python(1)
QDU_AP协会17级ST2(1)
SPOJ(1)
STL(3)
tarjan算法~~强连通分量(2)
tricks(2)
Trie字典树(2)
ZOJ(6)
三分(1)
二分(8)
二分图(2)
优先队列(2)
优秀模板(1)
分数规划(1)
分治(1)
创新实验室热身赛2(1)
前缀和(1)
剪枝(2)
动态规划(dp)(33)
匈牙利算法(1)
区间问题(2)
单源最短路(2)
单调栈(1)
博弈问题(3)
字符串问题(4)
尺取法(3)
差分数组(1)
并查集(2)
思维(28)
打表(2)
拓扑排序(2)
数学(4)
数论(4)
最小生成树(2)
最短路(2)
最近公共祖先(1)
树的直径(1)
模拟(9)
母函数(1)
水题纪念(45)
牛客网(14)
状态压缩(2)
皮(1)
知识点(7)
线段树(4)
背包问题(1)
蓝桥杯(2)
贪心(17)
随笔(3)
随笔啊(1)
题解(1)
归档
标签
去牛客网
登录
/
注册
xuanweiace的博客
全部文章
/ 未归档
(共607篇)
【CodeForces - 371D】Vessels(思维,元素合并,并查集)
题干: There is a system of n vessels arranged one above the other as shown in the figure below. Assume that the vessels are numbered from 1 to n, in th...
2018-10-12
0
496
【CodeForces - 569A】Music (数学公式化简,模拟追及问题)
题干: Little Lesha loves listening to music via his smartphone. But the smartphone doesn't have much memory, so Lesha listens to his favorite songs in ...
2018-10-10
0
318
【 HDU - 1525 】Euclid's Game(较难找规律,玄学博弈,分析必败点必胜点)
题干: Two players, Stan and Ollie, play, starting with two natural numbers. Stan, the first player, subtracts any positive multiple of the lesser of th...
2018-10-10
0
417
【蓝桥杯 - 练习】k倍区间(思维,数组)
题干: http://lx.lanqiao.cn/problem.page?gpid=T444 问题描述 给定一个长度为N的数列,A1, A2, ... AN,如果其中一段连续的子序列Ai, Ai+1, ... Aj(i <= j)之和是K的倍数,我们就称这个区间[i, j]是K倍区...
2018-10-10
0
417
【CodeForces - 357D】Xenia and Hamming (字符串问题,数论,思维)
题干: Xenia is an amateur programmer. Today on the IT lesson she learned about the Hamming distance. The Hamming distance between two strings s = s1s2...
2018-10-10
0
484
c/c++,字符,字符串,各种方式读入与对空格,回车的处理
#include<iostream> #include<string> using namespace std; int main() { char a[50],b[50],charr; //经测试,cin读入字符串,会识别空格和回车为截止,并且不会吞掉, //...
2018-10-10
0
724
*【CodeForces - 122D】Lucky Transformation(字符串问题,思维剪枝,优化,有坑,需注意的问题if的层次总结)
题干: Petya loves lucky numbers. Everybody knows that lucky numbers are positive integers whose decimal representation contains only the lucky digits 4...
2018-10-10
0
649
【牛客 - 181C】序列(前缀和,二分,可用set维护)(有坑)
题干: 小a有n个数,他想把他们划分为连续的权值相等的k段,但他不知道这是否可行。 每个数都必须被划分 这个问题对他来说太难了,于是他把这个问题丢给了你。 输入描述: 第一行为两个整数n,q,分别表示序列长度和询问个数。 第二行有n个数,表示序列中的每个数。 接下来的q行,每行包含一个数...
2018-10-10
0
392
【PAT - 甲级 - 1018】Public Bike Management (带权最短路,多条最短路中加条件,DFS)
题干: 链接:https://www.nowcoder.com/questionTerminal/4b20ed271e864f06ab77a984e71c090f 来源:牛客网 There is a public bike service in Hangzhou City which provid...
2018-10-10
0
435
【牛客 - 181B】送分题(另类求解a+b,二分)
题干: 对于一套题来说,没有一道送分题,就很不符合常理,但是我又懒得写送分题,所以你可以直接复制以下代码,即可ac本题. #include<cstdio>#include<iostream> using namespace std; int a,b,c; in...
2018-10-08
0
382
首页
上一页
35
36
37
38
39
40
41
42
43
44
下一页
末页