思维
Supreme_lwl
这个作者很懒,什么都没留下…
展开
-
牛客网暑期ACM多校训练营(第六场)Singing Contest
链接:https://www.nowcoder.com/acm/contest/144/A 来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 题目描述 Jigglypuff is holding a singing contest. There are 2n singers...原创 2018-08-04 17:01:20 · 296 阅读 · 0 评论 -
2018 Multi-University Training Contest 1 1004 Distinct Values
Distinct Values Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3336 Accepted Submission(s): 523 Problem Description Chiaki has an array...原创 2018-08-01 20:38:47 · 145 阅读 · 0 评论 -
2018 Multi-University Training Contest 4 1011 Expression in Memories
Problem K. Expression in Memories Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 4072 Accepted Submission(s): 864 Special Judge Probl...原创 2018-08-06 19:19:30 · 117 阅读 · 0 评论 -
Codeforces Round #501 (Div. 3) D. Walking Between Houses
D. Walking Between Houses time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output There are n n houses in a row. They are numbered from 1 1...原创 2018-08-16 22:02:02 · 111 阅读 · 0 评论 -
LeetCode摆动排序
题目描述: 给定一个无序的数组 nums,将它重新排列成 nums[0] < nums[1] > nums[2] < nums[3]… 的顺序。 示例 1: 输入: nums = [1, 5, 1, 1, 6, 4] 输出: 一个可能的答案是 [1, 4, 1, 5, 1, 6] 示例 2: 输入: nums = [1, 3, 2, 2, 3, 1] 输出: 一个可能的答案是 [...原创 2019-08-05 22:09:12 · 145 阅读 · 0 评论