04 2020 档案

摘要:There is a rectangular grid of n rows of m initially white cells each. Arkady performed a certain number (possibly zero) of operations on it. In the i 阅读全文
posted @ 2020-04-28 19:02 LiangYC1021 阅读(127) 评论(1) 推荐(0) 编辑
摘要:Overlooking the captivating blend of myriads of vernal hues, Arkady the painter lays out a long, long canvas. Arkady has a sufficiently large amount o 阅读全文
posted @ 2020-04-28 18:59 LiangYC1021 阅读(160) 评论(0) 推荐(0) 编辑
摘要:The city of Fishtopia can be imagined as a grid of 4 rows and an odd number of columns. It has two main villages; the first is located at the top left 阅读全文
posted @ 2020-04-20 23:51 LiangYC1021 阅读(116) 评论(0) 推荐(0) 编辑
摘要:A necklace can be described as a string of links (' ') and pearls ('o'), with the last link or pearl connected to the first one. You can remove a link 阅读全文
posted @ 2020-04-20 23:49 LiangYC1021 阅读(116) 评论(0) 推荐(0) 编辑
摘要:纯粹记录一下打cf中的学校Group的训练比赛的天数 w周d天 正式赛不记录 补题应该也不记录oㅅo 2020/5/5 最近都在做板刷集训题太多了不记录了,再记就烦了^^ 阅读全文
posted @ 2020-04-20 23:47 LiangYC1021 阅读(115) 评论(0) 推荐(0) 编辑
摘要:JATC loves Banh mi (a Vietnamese food). His affection for Banh mi is so much that he always has it for breakfast. This morning, as usual, he buys a Ba 阅读全文
posted @ 2020-04-16 22:56 LiangYC1021 阅读(162) 评论(0) 推荐(0) 编辑
摘要:JATC and his friend Giraffe are currently in their room, solving some problems. Giraffe has written on the board an array a1, a2, ..., an of integers, 阅读全文
posted @ 2020-04-16 22:55 LiangYC1021 阅读(93) 评论(0) 推荐(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 @ 2020-04-13 00:34 LiangYC1021 阅读(116) 评论(0) 推荐(0) 编辑
摘要:You are given q queries in the following form: Given three integers li, ri and di, find minimum positive integer xi such that it is divisible by di an 阅读全文
posted @ 2020-04-13 00:33 LiangYC1021 阅读(115) 评论(0) 推荐(0) 编辑
摘要:Every superhero has been given a power value by the Felicity Committee. The avengers crew wants to maximize the average power of the superheroes in th 阅读全文
posted @ 2020-04-09 23:25 LiangYC1021 阅读(100) 评论(0) 推荐(0) 编辑
摘要:Every superhero has been given a power value by the Felicity Committee. The avengers crew wants to maximize the average power of the superheroes in th 阅读全文
posted @ 2020-04-09 23:24 LiangYC1021 阅读(107) 评论(0) 推荐(0) 编辑
摘要:Let's call an array of non negative integers a1,a2,…,an a k extension for some non negative integer k if for all possible pairs of indices 1≤i,j≤n the 阅读全文
posted @ 2020-04-07 23:52 LiangYC1021 阅读(116) 评论(0) 推荐(0) 编辑
摘要:n boys and m girls came to the party. Each boy presented each girl some integer number of sweets (possibly zero). All boys are numbered with integers 阅读全文
posted @ 2020-04-07 23:52 LiangYC1021 阅读(131) 评论(0) 推荐(0) 编辑
摘要:A. A pile of stones Vasya has a pile, that consists of some number of stones. n times he either took one stone from the pile or added one stone to the 阅读全文
posted @ 2020-04-07 23:51 LiangYC1021 阅读(179) 评论(0) 推荐(0) 编辑
摘要:A. Dreamoon and Ranking Collection Example: input 5 6 2 3 1 1 5 7 10 1 100 100 11 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 57 80 60 40 20 output: 5 101 2 2 60 阅读全文
posted @ 2020-04-06 01:03 LiangYC1021 阅读(230) 评论(0) 推荐(0) 编辑
摘要:STL 中栈的使用方法(stack) 头文件: 定义: stack栈名。 cf: 基本操作: push(x) 将x加入栈中,即入栈操作 pop() 出栈操作(删除栈顶),只是出栈,没有返回值 top() 返回第一个元素(栈顶元素) size() 返回栈中的元素个数 empty() 当栈为空时,返回  阅读全文
posted @ 2020-04-02 14:28 LiangYC1021 阅读(144) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示