随笔分类 -  思维

摘要:牛客挑战赛36 C 纸飞机 (最小链覆盖,LIS+思维,详细题解) 链接:https://ac.nowcoder.com/acm/contest/3782/C 来源:牛客网 纸飞机 时间限制:C/C++ 2秒,其他语言4秒 空间限制:C/C++ 262144K,其他语言524288K 64bit I 阅读全文
posted @ 2020-01-19 00:56 茄子Min 阅读(829) 评论(0) 推荐(0)
摘要:牛客小白月赛19 E 「火」烈火燎原 (思维,树) 链接:https://ac.nowcoder.com/acm/contest/2272/E来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 131072K,其他语言262144K 64bit IO Format: %ll 阅读全文
posted @ 2019-11-23 23:19 茄子Min 阅读(468) 评论(2) 推荐(0)
摘要:牛客练习赛42 C 出题的诀窍 链接:https://ac.nowcoder.com/acm/contest/393/C来源:牛客网 题目描述 给定m个长为n的序列a1,a2,…,ama_1 , a_2 , \dots , a_ma1,a2,…,am。 小Z想问你: 其中SUM(一个序列)\text 阅读全文
posted @ 2019-11-23 02:04 茄子Min 阅读(260) 评论(0) 推荐(0)
摘要:HDU 6187 Destroy Walls (思维,最大生成树) Destroy Walls \ Time Limit: 8000/4000 MS (Java/Others) Memory Limit: 132768/132768 K (Java/Others) Total Submission( 阅读全文
posted @ 2019-11-20 22:03 茄子Min 阅读(322) 评论(0) 推荐(0)
摘要:牛客练习赛50 D tokitsukaze and Event 链接:https://ac.nowcoder.com/acm/contest/1080/D来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 524288K,其他语言1048576K 64bit IO Form 阅读全文
posted @ 2019-11-14 23:16 茄子Min 阅读(243) 评论(0) 推荐(0)
摘要:牛客网暑期ACM多校训练营(第三场)H Diff prime Pairs (贡献) 链接:https://ac.nowcoder.com/acm/contest/141/H来源:牛客网 Eddy has solved lots of problem involving calculating the 阅读全文
posted @ 2019-11-12 00:33 茄子Min 阅读(200) 评论(0) 推荐(0)
摘要:ACM ICPC 2018 徐州赛区网络预赛 G. Trace (思维,贪心) Trace "问答" 问题反馈 只看题面 35.78% 1000ms 262144K There's a beach in the first quadrant. And from time to time, there 阅读全文
posted @ 2019-11-10 21:07 茄子Min 阅读(285) 评论(0) 推荐(0)
摘要:2018 ACM 国际大学生程序设计竞赛上海大都会赛重现赛 H A Simple Problem with Integers (线段树,循环节) 链接:https://ac.nowcoder.com/acm/contest/163/H 来源:牛客网 链接:https://ac.nowcoder.co 阅读全文
posted @ 2019-11-09 18:41 茄子Min 阅读(243) 评论(0) 推荐(0)
摘要:2018 ACM 国际大学生程序设计竞赛上海大都会赛重现赛 F Color it (扫描线) 链接:https://ac.nowcoder.com/acm/contest/163/F来源:牛客网 时间限制:C/C++ 3秒,其他语言6秒 空间限制:C/C++ 262144K,其他语言524288K 阅读全文
posted @ 2019-11-09 15:08 茄子Min 阅读(290) 评论(0) 推荐(0)
摘要:2018牛客网暑期ACM多校训练营(第二场)I car 链接:https://ac.nowcoder.com/acm/contest/140/I来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 131072K,其他语言262144K 64bit IO Format: %l 阅读全文
posted @ 2019-11-05 22:39 茄子Min 阅读(192) 评论(0) 推荐(0)
摘要:"2018牛客网暑期ACM多校训练营(第二场)J Farm(树状数组,差分,思维)" 链接:https://ac.nowcoder.com/acm/problem/16637来源:牛客网 时间限制:C/C++ 4秒,其他语言8秒 空间限制:C/C++ 262144K,其他语言524288K 64bi 阅读全文
posted @ 2019-11-05 17:19 茄子Min 阅读(231) 评论(0) 推荐(0)
摘要:牛客练习赛48 A· 小w的a+b问题 链接:https://ac.nowcoder.com/acm/contest/923/A来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32768K,其他语言65536K Special Judge, 64bit IO Forma 阅读全文
posted @ 2019-11-03 23:42 茄子Min 阅读(366) 评论(0) 推荐(0)
摘要:牛客练习赛51 E 数列 链接:https://ac.nowcoder.com/acm/contest/1083/E来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32768K,其他语言65536K Special Judge, 64bit IO Format: %ll 阅读全文
posted @ 2019-11-03 22:38 茄子Min 阅读(235) 评论(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)
摘要:链接:https://ac.nowcoder.com/acm/contest/1114/E来源:牛客网 时间限制:C/C++ 2秒,其他语言4秒 空间限制:C/C++ 524288K,其他语言1048576K 64bit IO Format: %lld 题目描述 老瞎眼有一个长度为 n 的数组 a, 阅读全文
posted @ 2019-10-23 20:28 茄子Min 阅读(240) 评论(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)
摘要: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)
摘要: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)
摘要:Diagonal Walking v.2 "CodeForces 1036B " Mikhail walks on a Cartesian plane. He starts at the point (0,0)(0,0), and in one move he can go to any of ei 阅读全文
posted @ 2019-09-13 01:51 茄子Min 阅读(320) 评论(0) 推荐(0)