Problem Description Xiao Ming likes playing the international chess ,especially like the elephant(it can move by slant while no barrier), but he think the big elephant of the chess is cruel,and
原创 2022-11-09 22:00:19
23阅读
Read problems statements in Mandarin Chinese and Russian. Little Elephant from Zoo of Lviv likes to watch movies. There are N different movies (number
转载 2018-04-16 08:49:00
106阅读
2评论
Description
原创 2022-11-09 18:14:42
35阅读
elephant-bird是Twitter的开源项目,项目的地址为 https://github.com/twitter/elephant-bird 该项目是Twitter为LZO,thrift,protocol buffer相关的hadoop InputFormats, OutputFormats
转载 2018-09-12 19:06:00
63阅读
2评论
The Little Elephant likes permutations. This time he has a permutationA[1],A[2], ...,A[N]of numbers1,2, ...,N.He calls a permutationAgood, if the numb...
转载 2015-02-09 12:48:00
36阅读
类似墨墨的等式 设f[2][j][k]表示a[i].c是否和当前颜色相同,到当前枚举到的颜色为止,颜色数为j,对mnv取模为k的最小数 这是个无限循环背包,用spfa优化
转载 2019-02-27 08:19:00
107阅读
2评论
limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe Little Elepha
原创 2022-09-07 16:40:41
103阅读
This is the first time I try to use english to write my blog, so don't jeer at the mistake of my grammar and spelling.Because of multi threaded drelephant will cause JobHistoryServer’s Loads very high
推荐 原创 2017-03-07 12:20:27
5479阅读
2点赞
1评论
http://www.elijahqi.win/archives/1223 The Little Elephant loves strings very much.He has an array
原创 2022-08-08 13:40:56
35阅读
D. Little Elephant and Array time limit per test 4 seconds memory limit per test 256 megabytes input standard input output standard output D. Little E
原创 2021-08-05 10:48:53
284阅读
B. Little Elephant and Numbers time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output B. Little
原创 2021-08-05 10:48:57
118阅读
A. Little Elephant and Function time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output The Litt
原创 2021-08-05 10:48:55
468阅读
[题目链接] https://codeforces.com/contest/204/problem/E [算法] 首先构建广义后缀自动机 对于自动机上的每个节点 , 维护一棵平衡树存储所有它所匹配的字符串编号 可以通过启发式合并得到 计算答案时 , 我们枚举每个右端点 , 当当前集合大小 < K时
转载 2019-04-05 21:40:00
62阅读
The Little Elephant has two permutationsaandbof lengthn, consisting of numbers from
原创 9月前
63阅读
Little Elephant loves magic squares very much. A magic square is a 3 × 3 table, each cell contains some positive integer. At that the sums of integers
转载 2019-08-21 09:08:00
302阅读
2评论
CF204E Little Elephant and Strings \(\text{Solution:}\) 第一眼看上去就已经很广义 SAM 了。 考虑我们对每一个子串维护它在多少串中出现过。对每一个串的尾节点进行染色,问题就变成在 parent 树上求子树颜色数的问题。可以用 dfs序 转化成 ...
转载 2021-08-23 18:44:00
44阅读
C. Little Elephant and Problem time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output The Littl
原创 2021-08-05 09:59:58
160阅读
Little Elephant and LCM
转载 2019-02-17 13:08:00
91阅读
2评论
题目 题目链接:https://codeforces.com/problemset/problem/220/B 小象喜欢和数组玩。现在有一个数组 \(a\),含有 \(n\) 个正整数,记第 \(i\) 个数为 \(A_i\)。 现在有 \(m\) 个询问,每个询问包含两个正整数 \(l_j\) 和
转载 2020-12-03 17:48:00
63阅读
2评论
  • 1
  • 2
  • 3
  • 4
  • 5