STL-map
文章平均质量分 85
snowy_smile
终于在ICPC World Final里拿到了气球!
再努力一点吧,坚持下去吧,梦想是会实现的! 人生会有低谷,但我更相信,未来也会有更多梦想能够实现~
展开
-
【UKIEPC2015 C】【STL set map stringstream】Conversation Log 网络审查 被所有人都说过的话 map套set法+人哈希法
map套set法:#include #include#include#include#include#include#include#includeusing namespace std;const int N=1e4+5;const int L=2e6+10;setname;//记录所有人名map >cnt;//记录说过每句话的所有人名mapfreq;//记录每句话原创 2015-11-03 17:43:18 · 808 阅读 · 0 评论 -
【Codeforces Round 362 (Div 2)C】【STL-map 最近公共祖先思想】Lorenzo Von Matterhorn 数域二叉树的路径权值变更查询
C. Lorenzo Von Matterhorntime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBarney lives in NYC. NYC has infin原创 2016-07-26 10:23:49 · 616 阅读 · 0 评论 -
【HDU5726 2016 Multi-University Training Contest 1D】【gcd的下降性质 STL-map】GCD 多少段区间gcd等于给定区间gcd
GCDTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2189 Accepted Submission(s): 731Problem DescriptionGive you a sequence of N(N原创 2016-07-25 09:49:26 · 617 阅读 · 0 评论 -
【ZOJ3940 The 13th Zhejiang Provincial Collegiate Programming ContestE】【脑洞 STL-MAP 复杂度分析 区间运算思想 双指针】M
Modulo QueryTime Limit: 2 Seconds Memory Limit: 65536 KB One day, Peter came across a function which looks like:F(1, X) = X mod A1.F(i, X) = F(i - 1, X) mod Ai, 2 ≤ i ≤ N.Where原创 2016-04-26 18:45:13 · 1184 阅读 · 2 评论 -
【Manthan, Codefest 16D】【暴力+去重or特判】Fibonacci-ish n个数组成最长斐波那契数列的长度
D. Fibonacci-ishtime limit per test3 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputYash has recently learnt about the Fibonacci sequenc原创 2016-02-28 15:27:05 · 803 阅读 · 0 评论 -
【Codeforces Round 345 (Div 1) A】【STL-map or stable_sort or双关键字排序】Watchmen 曼哈顿距离=欧几里得距离点对数
A. Joystickstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFriends are going to play console. They have tw原创 2016-03-08 18:58:23 · 598 阅读 · 0 评论 -
【2015-2016 XVI Open CupH】【STL大融合】Hierarchy 公司人来人往 公寓入住进出 求公司老大与寝室长
H. Hierarchytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe hierarchical structure of the new office o原创 2016-03-08 18:49:56 · 2013 阅读 · 0 评论 -
【CROC 2016 — QualificationC】【STL大联合】Hostname Aliases 输出拥有相同后缀集合的全体字符串
Hostname Aliasestime limit per test5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are some websites that are accessibl原创 2016-03-20 08:32:16 · 472 阅读 · 0 评论 -
【Manthan, Codefest 16C】【DP SET-MAP 字典树哈希法】Spy Syndrome 2 字符串是否由字典库单词反转加密而成
C. Spy Syndrome 2time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAfter observing the results of Spy Syndrome, Yash r原创 2016-02-28 14:57:29 · 700 阅读 · 0 评论 -
【Codeforces Beta Round 2A】【模拟 map 有map的java实现哦】Winner 第一个达到最终最高分的人名
A. Winnertime limit per test1 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputThe winner of the card game popular in Berland "Berlo原创 2015-12-01 12:01:03 · 871 阅读 · 0 评论 -
【Educational Codeforces Round 2B】【map or 二分查找】Queries about less or equal elements b[]中的每个数比a[]中多少数大
B. Queries about less or equal elementstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given two arr原创 2015-11-29 20:22:17 · 522 阅读 · 0 评论 -
【Educational Codeforces Round 2E】【STL-map 启发式合并 or 线段树动态开节点 】Lomsat gelral 一棵树每点一个颜色问每个节点子树的颜色众数之和
E. Lomsat gelraltime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a rooted tree with root in ver原创 2015-11-30 19:17:51 · 1530 阅读 · 0 评论 -
【杭电2015年12月校赛H】【模拟 STL-MAP STL-SET stringstream】Study Words 从article中提取中10个没有学过的频率最高单词
Study WordsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 226 Accepted Submission(s): 80Problem DescriptionLearning English is n原创 2015-12-28 17:00:47 · 951 阅读 · 0 评论 -
【杭电2015年12月校赛G】【map记录 状压DP 记忆化搜索实现 】Pick Game nm棋盘两人轮流取数 所取位置周围至少2个为空 为先手最大取得权值
Pick GameTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 151 Accepted Submission(s): 31Problem DescriptionThis is a pick game.原创 2015-12-28 15:03:06 · 788 阅读 · 1 评论 -
【Codeforces Round 323 (Div 2)C】【观察找规律 STL map】GCD Table 从GCD矩阵中找出所有原始元素
C. GCD Tabletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe GCD table G of size n × n for an array of原创 2015-11-13 11:22:22 · 841 阅读 · 0 评论 -
【2015-2016 ACM-ICPC, NEERC, Southern Subregional Contest A】【模拟 STL-map】Email Aliases 不同邮箱的数量
A. Email Aliasestime limit per test2 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputPolycarp has quite recently learned about email aliases. Of course, he used to suspect that the case of the letters doesn't matter in原创 2015-11-08 12:45:04 · 1163 阅读 · 0 评论 -
【HDU1263】【STL-MAP套MAP】(省份,水果,数量)MAP嵌套大开发
#include#include#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;void fre(){freopen("c://test//input.in","r",stdin);freopen("c:原创 2015-11-04 23:36:05 · 766 阅读 · 0 评论 -
【[Offer收割]编程练习赛23 B】【map模拟】合并子目录
题目2 : 合并子目录时间限制:10000ms单点时限:1000ms内存限制:256MB描述小Hi的电脑的文件系统中一共有N个文件,例如:/hihocoder/offer23/solutions/p1/hihocoder/challenge30/p1/test /game/moba/dota2/uninstall 经过原创 2017-08-20 14:40:10 · 583 阅读 · 0 评论