随笔分类 -  构造/技巧

摘要:B. Odd Sum Segments time limit per test3 seconds memory limit per test256 megabytes inputstandard input outputstandard output You are given an array a 阅读全文
posted @ 2019-07-26 00:42 茄子Min 阅读(414) 评论(0) 推荐(0)
摘要:Every person likes prime numbers. Alice is a person, thus she also shares the love for them. Bob wanted to give her an affectionate gift but couldn't 阅读全文
posted @ 2019-07-22 01:26 茄子Min 阅读(281) 评论(0) 推荐(0)
摘要:D. Maximum Diameter Graph time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Graph constructive 阅读全文
posted @ 2019-07-15 15:26 茄子Min 阅读(279) 评论(0) 推荐(0)
摘要:链接:https://ac.nowcoder.com/acm/contest/308/B 来源:牛客网 tokitsukaze and RPG 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 题目描述 阅读全文
posted @ 2019-07-13 23:06 茄子Min 阅读(201) 评论(0) 推荐(0)
摘要:链接:https://ac.nowcoder.com/acm/contest/942/B 来源:牛客网 Game with numbers 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 题目描述 给 阅读全文
posted @ 2019-07-10 16:44 茄子Min 阅读(195) 评论(0) 推荐(0)
摘要:You are given an array a consisting of n integers, and additionally an integer m. You have to choose some sequence of indices b1, b2, ..., bk (1 ≤ b1 阅读全文
posted @ 2019-06-27 16:59 茄子Min 阅读(370) 评论(0) 推荐(0)
摘要:为了给全球小学员打起信息安全“保护伞”,VIPKID 还建立了一套立体化的安全防御体系,7 \times 247×24 小时持续安全监控与应急响应等多项联动,具备业界最高级别的数据安全保护标准。值得一提的是,VIPKID 也是行业业内唯一通过 ISO 国际信息安全体系认证、公安部信息安全等级保护三级 阅读全文
posted @ 2019-06-17 18:40 茄子Min 阅读(243) 评论(0) 推荐(0)
摘要:链接:https://ac.nowcoder.com/acm/contest/924/C 来源:牛客网 修围栏 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32768K,其他语言65536K 64bit IO Format: %lld 题目描述 农民 John 希望修复围绕农场的 阅读全文
posted @ 2019-06-14 11:34 茄子Min 阅读(365) 评论(0) 推荐(1)
摘要:Problem Statement This is an interactive task. Snuke has a favorite positive integer, N. You can ask him the following type of question at most 64 tim 阅读全文
posted @ 2019-05-05 19:05 茄子Min 阅读(303) 评论(0) 推荐(0)
摘要:Now Vasya is taking an exam in mathematics. In order to get a good mark, Vasya needs to guess the matrix that the teacher has constructed! Vasya knows 阅读全文
posted @ 2019-05-02 19:35 茄子Min 阅读(337) 评论(0) 推荐(0)
摘要:Time Limit: 2 sec / Memory Limit: 1024 MB Score : 700700 points Problem Statement You are given an integer NN. Build an undirected graph with NN verti 阅读全文
posted @ 2019-04-24 20:05 茄子Min 阅读(333) 评论(0) 推荐(0)
摘要:Time Limit: 2 sec / Memory Limit: 1024 MB Score : 400400 points Problem Statement Snuke has an empty sequence aa. He will perform NN operations on thi 阅读全文
posted @ 2019-04-24 17:35 茄子Min 阅读(337) 评论(0) 推荐(0)
摘要:E. Magic Stones time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output E. Magic Stones time limi 阅读全文
posted @ 2019-02-08 14:43 茄子Min 阅读(421) 评论(0) 推荐(0)
摘要:B. Makes And The Product time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output B. Makes And Th 阅读全文
posted @ 2019-01-27 21:20 茄子Min 阅读(383) 评论(0) 推荐(0)
摘要:On the way to school, Karen became fixated on the puzzle game on her phone! The game is played as follows. In each level, you have a grid with n rows 阅读全文
posted @ 2019-01-26 11:43 茄子Min 阅读(255) 评论(0) 推荐(0)
摘要:principal 已经提交 已经通过 23.66% Total Submission:131 Total Accepted:31 principal 已经提交 已经通过 principal 已经提交 已经通过 23.66% Total Submission:131 Total Accepted:3 阅读全文
posted @ 2019-01-19 00:47 茄子Min 阅读(378) 评论(0) 推荐(0)
摘要:Vasya has an array a consisting of positive integer numbers. Vasya wants to divide this array into two non-empty consecutive parts (the prefix and the 阅读全文
posted @ 2019-01-16 15:48 茄子Min 阅读(361) 评论(0) 推荐(0)
摘要:Polycarp invited all his friends to the tea party to celebrate the holiday. He has ncups, one for each of his n friends, with volumes a1, a2, ..., an. 阅读全文
posted @ 2019-01-16 14:49 茄子Min 阅读(355) 评论(0) 推荐(0)
摘要:There are nn segments [li,ri][li,ri] for 1≤i≤n1≤i≤n. You should divide all segments into two non-empty groups in such way that there is no pair of seg 阅读全文
posted @ 2019-01-12 13:51 茄子Min 阅读(933) 评论(2) 推荐(0)
摘要:An accordion is a string (yes, in the real world accordions are musical instruments, but let's forget about it for a while) which can be represented a 阅读全文
posted @ 2019-01-12 13:35 茄子Min 阅读(426) 评论(0) 推荐(0)