- 博客(6)
- 收藏
- 关注
原创 模板:区间GCD
一、RMQ实现 RMQ不能实现更新。#include <iostream>#include <sstream>#include <iomanip>#include <string>#include <numeric>#include <vector>#include <queue>#in
2018-02-09 16:21:14 544
原创 Codeforces Round#458Div.1+2 D.Bash and a Tough Math Puzzle 区间GCD
D. Bash and a Tough Math Puzzletime limit per test2.5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputBash likes playing with arrays. He has an array a1, a2, ... an of...
2018-02-09 15:50:26 288
原创 HDU5726-GCD 区间GCD+二分
GCDTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 4611 Accepted Submission(s): 1655Problem DescriptionGive you a sequence of N(N≤100,000) i...
2018-02-08 16:41:17 257
原创 Codeforces Round#458Div.1+2 C.Travelling Salesman and Special Numbers 数位dp
C. Travelling Salesman and Special Numberstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe Travelling Salesman spends a lot of time travelling s...
2018-02-08 14:49:35 369
原创 Codeforces Round#459 Div.2 D.MADMAX 搜索+记忆化DP
D. MADMAXtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAs we all know, Max is the best video game player among her friends. Her friends were so j...
2018-02-07 22:20:49 191
原创 Codeforces Round#460 Div.2 D.Substring 搜索
D. Substringtime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a graph with n nodes and m directed edges. One lowercase letter is assig...
2018-02-07 22:20:16 277
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人