随笔分类 -  模拟

摘要:#include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #include <map> #include <sstream> #includ 阅读全文
posted @ 2020-09-11 11:11 DeaL57 阅读(145) 评论(0) 推荐(0)
摘要:PE给我整吐了 #include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #include <map> #include <sstream> 阅读全文
posted @ 2020-09-01 17:42 DeaL57 阅读(165) 评论(0) 推荐(0)
摘要:#include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #include <map> #include <sstream> #includ 阅读全文
posted @ 2020-09-01 16:18 DeaL57 阅读(180) 评论(0) 推荐(0)
摘要:#include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #include <map> #include <sstream> #includ 阅读全文
posted @ 2020-09-01 15:25 DeaL57 阅读(129) 评论(0) 推荐(0)
摘要:#include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #include <map> #include <sstream> #includ 阅读全文
posted @ 2020-09-01 09:29 DeaL57 阅读(93) 评论(0) 推荐(0)
摘要:#include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #include <map> #include <sstream> #includ 阅读全文
posted @ 2020-08-31 22:30 DeaL57 阅读(183) 评论(0) 推荐(0)
摘要:C. Uncle Bogdan and Country Happiness #include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #in 阅读全文
posted @ 2020-07-31 22:22 DeaL57 阅读(293) 评论(0) 推荐(0)
摘要:A2. Prefix Flip (Hard Version) #include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #include < 阅读全文
posted @ 2020-07-27 23:52 DeaL57 阅读(194) 评论(0) 推荐(0)
摘要:1202B - You Are Given a Decimal String... 这个复杂度看着都觉得有点悬(O(100*N)),居然才用500ms #include <iostream> #include <vector> #include <algorithm> #include <strin 阅读全文
posted @ 2020-07-11 13:50 DeaL57 阅读(159) 评论(0) 推荐(0)
摘要:1244D - Paint the Tree #include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #include <map> #in 阅读全文
posted @ 2020-07-10 00:49 DeaL57 阅读(142) 评论(0) 推荐(0)
摘要:You play a computer game. In this game, you lead a party of mm heroes, and you have to clear a dungeon with nn monsters. Each monster is characterized 阅读全文
posted @ 2020-07-07 23:28 DeaL57 阅读(189) 评论(0) 推荐(0)
摘要:1286A - Garland 玄学特判+贪心 #include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #include <map> #i 阅读全文
posted @ 2020-07-05 12:26 DeaL57 阅读(160) 评论(0) 推荐(0)
摘要:1296E1 - String Coloring (easy version) 因为只有两种颜色,只要可以排成两组非递减序列即可 #include <iostream> #include <vector> #include <algorithm> #include <string> #include 阅读全文
posted @ 2020-07-05 10:12 DeaL57 阅读(159) 评论(0) 推荐(0)
摘要:原题 The round carousel consists of nn figures of animals. Figures are numbered from 11 to nn in order of the carousel moving. Thus, after the nn-th fig 阅读全文
posted @ 2020-07-04 10:01 DeaL57 阅读(159) 评论(0) 推荐(0)
摘要:恢复内容开始 D. Grid-00100 time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A mad scientist Dr.J 阅读全文
posted @ 2020-07-02 21:42 DeaL57 阅读(172) 评论(0) 推荐(0)
摘要:You are given an array aa consisting of nn integers. Indices of the array start from zero (i. e. the first element is a0a0, the second one is a1a1, an 阅读全文
posted @ 2020-06-28 20:17 DeaL57 阅读(199) 评论(0) 推荐(0)
摘要:You have a given picture with size w×hw×h. Determine if the given picture has a single "+" shape or not. A "+" shape is described below: A "+" shape h 阅读全文
posted @ 2020-06-27 16:13 DeaL57 阅读(234) 评论(0) 推荐(0)
摘要:The only difference between easy and hard versions is constraints. You are given a sequence aa consisting of nn positive integers. Let's define a thre 阅读全文
posted @ 2020-06-26 10:06 DeaL57 阅读(198) 评论(0) 推荐(0)
摘要:#include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #include <map> #include <sstream> #includ 阅读全文
posted @ 2020-06-24 22:51 DeaL57 阅读(206) 评论(0) 推荐(0)
摘要:Polycarp wrote on the board a string ss containing only lowercase Latin letters ('a'-'z'). This string is known for you and given in the input. After 阅读全文
posted @ 2020-06-22 12:11 DeaL57 阅读(254) 评论(0) 推荐(0)