精神病科黄主任
精神病科黄主任
全部文章
暴力
cf(33)
dfs(3)
dp(动态规划)(4)
poj(1)
二分(7)
位运算(1)
双端队列(1)
娱乐(1)
并查集(3)
快速幂(1)
思维(1)
拓扑排序(1)
数学(11)
数论(2)
最短路(1)
未归档(3)
栈(1)
预处理优化(3)
题解(119)
归档
标签
去牛客网
登录
/
注册
精神病科黄主任的博客
全部文章
/ 暴力
(共8篇)
Codeforces Round #550 (Div. 3) D. Equalize Them All
D. Equalize Them All time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output You are given an array ...
2020-05-01
0
634
Codeforces Round #620 (Div. 2)B. Longest Palindrome
B. Longest Palindrome time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Returning back to probl...
2020-05-01
0
678
Codeforces Round #622 (Div. 2)C1. Skyscrapers (easy version)
C1. Skyscrapers (easy version) time limit per test1 second memory limit per test512 megabytes inputstandard input outputstandard output This is an eas...
2020-05-01
0
700
牛客小白月赛22 A 操作序列(stl模拟 set+map)
链接:https://ac.nowcoder.com/acm/contest/4462/A 来源:牛客网 给出一个长度无限的数列,初始全部为零,有三种操作: 增加操作:给下标为 tt 的数加 cc 。特别注意,如果在下标 [t-30,t+30][t−30,t+30] 内有不为零的数,增加操作无效...
2020-05-01
0
707
Codeforces Round #624 (Div.3) B. WeirdSort
B. WeirdSort time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output You are given an arrayaof lengt...
2020-05-01
0
605
Codeforces Round #624 (Div.3)A. Add Odd or Subtract Even
A. Add Odd or Subtract Even time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output You are given tw...
2020-05-01
0
548
Codeforces Round #625 (Div. 2, based on Technocup 2020 Final Round)C. Remove Adjacent
C. Remove Adjacent time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output You are given a string s ...
2020-05-01
0
628
2019上海ICPC B.Prefix Code
https://ac.nowcoder.com/acm/contest/4370/B 签到题吧 时限给的足足有5s 所以可以直接用stl里的unordered_map 把每个字符串的前缀塞进去,最后遍历一下看是不是有某个字符串塞进去了两次即可 复杂度 t * n * len *log unorde...
2020-05-01
0
620