随笔分类 -  codeforces

上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
摘要:D. Numbers on Tree 构造,树dfs 题目链接:https://codeforces.com/contest/1287/problem/D、 D. Numbers on Tree time limit per test 1 second memory limit per test 2 阅读全文
posted @ 2020-01-18 16:18 茄子Min 阅读(421) 评论(0) 推荐(0)
摘要:关于 set/map 等容器对string类的 性能指标 测试题目: https://codeforces.com/contest/1287/problem/B 测试的字符串条件其中: 字符串长度为<=30, 字符串个数为<=1500, 且每一个加入和查询的字符串长度相等。 使用set/map 等容 阅读全文
posted @ 2020-01-17 01:06 茄子Min 阅读(301) 评论(0) 推荐(0)
摘要:"Educational Codeforces Round 80 (Rated for Div. 2)" A. Deadline 如果n =d 直接yes 否则对于公式 $x+ceil(d/(x+1)) include include include include include include 阅读全文
posted @ 2020-01-16 00:21 茄子Min 阅读(194) 评论(0) 推荐(1)
摘要:Educational Codeforces Round 41 (Rated for Div. 2) E. Tufurama (CDQ分治 求 二维点数) time limit per test 2 seconds memory limit per test 256 megabytes input 阅读全文
posted @ 2019-11-19 00:38 茄子Min 阅读(363) 评论(0) 推荐(0)
摘要:D. Pair Of Lines time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given n points 阅读全文
posted @ 2019-11-13 20:18 茄子Min 阅读(160) 评论(0) 推荐(0)
摘要:"292D Connected Components" D. Connected Components time limit per test 2 seconds memory limit per test 256 megabytes input standard input output stan 阅读全文
posted @ 2019-10-30 00:59 茄子Min 阅读(147) 评论(0) 推荐(0)
摘要:"Educational Codeforces Round 63 (Rated for Div. 2)" D. Beautiful Array time limit per test 2 seconds memory limit per test 256 megabytes input standa 阅读全文
posted @ 2019-10-29 22:19 茄子Min 阅读(216) 评论(0) 推荐(0)
摘要:C. Vasily the Bear and Sequence time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Vasily th 阅读全文
posted @ 2019-10-25 18:51 茄子Min 阅读(187) 评论(0) 推荐(0)
摘要:Vasya and Beautiful Arrays "CodeForces 354C " Vasya's got a birthday coming up and his mom decided to give him an array of positive integers a of leng 阅读全文
posted @ 2019-10-25 17:27 茄子Min 阅读(268) 评论(0) 推荐(0)
摘要:"Codeforces Round 329 (Div. 2)" D. Happy Tree Party time limit per test 3 seconds memory limit per test 256 megabytes input standard input output stan 阅读全文
posted @ 2019-10-20 00:26 茄子Min 阅读(199) 评论(0) 推荐(0)
摘要:G. Castle Defense time limit per test 1.5 seconds memory limit per test 256 megabytes input standard input output standard output Today you are going 阅读全文
posted @ 2019-10-19 21:15 茄子Min 阅读(203) 评论(0) 推荐(0)
摘要:"Educational Codeforces Round 40 (Rated for Div. 2)" C. Matrix Walk time limit per test 1 second memory limit per test 256 megabytes input standard in 阅读全文
posted @ 2019-10-19 00:58 茄子Min 阅读(185) 评论(0) 推荐(0)
摘要:Coprime Arrays "CodeForces 915G " Let's call an array a of size n coprime iff gcd ( a 1, a 2, ..., a n ) = 1, where gcd is the greatest common divisor 阅读全文
posted @ 2019-10-08 22:05 茄子Min 阅读(216) 评论(0) 推荐(0)
摘要:Make It Connected "CodeForces 1095F " You are given an undirected graph consisting of nn vertices. A number is written on each vertex; the number on v 阅读全文
posted @ 2019-10-05 22:52 茄子Min 阅读(367) 评论(0) 推荐(0)
摘要:Physical Education Lessons "CodeForces 915E " This year Alex has finished school, and now he is a first year student of Berland State University. For 阅读全文
posted @ 2019-10-04 19:56 茄子Min 阅读(176) 评论(0) 推荐(0)
摘要:Almost Acyclic Graph "CodeForces 915D " time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Y 阅读全文
posted @ 2019-10-03 21:37 茄子Min 阅读(319) 评论(0) 推荐(0)
摘要:Educational Codeforces Round 37 (Rated for Div. 2)C. Swap Adjacent Elements time limit per test 1 second memory limit per test 256 megabytes input sta 阅读全文
posted @ 2019-10-02 19:00 茄子Min 阅读(223) 评论(0) 推荐(0)
摘要:G. List Of Integers time limit per test 5 seconds memory limit per test 256 megabytes input standard input output standard output Let's denote as L ( 阅读全文
posted @ 2019-10-02 17:59 茄子Min 阅读(280) 评论(0) 推荐(0)
摘要:F. SUM and REPLACE time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Let D(x) be the number of 阅读全文
posted @ 2019-10-02 12:35 茄子Min 阅读(177) 评论(0) 推荐(0)
摘要:Connected Components? "CodeForces 920E " You are given an undirected graph consisting of n vertices and edges. Instead of giving you the edges that ex 阅读全文
posted @ 2019-10-02 11:36 茄子Min 阅读(192) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 ··· 11 下一页