暴力
Gee_Zer
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
E - Curiosity Has No Limits CodeForces - 1031B(暴力)
B. Curiosity Has No Limits time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output When Masha came to math classes today, she saw two integer sequences...原创 2019-04-11 20:15:50 · 271 阅读 · 0 评论 -
CF920C C. Swap Adjacent Element
C. Swap Adjacent Elements time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output You have an array a consisting of n integers. Each integer from 1 to ...原创 2019-04-21 20:32:44 · 446 阅读 · 0 评论 -
CF 1060C. Maximum Subrectangle
C. Maximum Subrectangle time limit per test2 seconds memory limit per test512 megabytes inputstandard input outputstandard output You are given two arrays a and b of positive integers, with length n a...原创 2019-04-25 21:13:53 · 337 阅读 · 0 评论 -
CF1070H. BerOS File Suggestion
H. BerOS File Suggestion time limit per test3 seconds memory limit per test256 megabytes inputstandard input outputstandard output Polycarp is working on a new operating system called BerOS. He asks y...原创 2019-04-26 11:00:02 · 349 阅读 · 0 评论 -
CF908 C. New Year and Curling
C. New Year and Curling time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Carol is currently curling. She has n disks each with radius r on the ...原创 2019-04-22 10:50:22 · 279 阅读 · 0 评论 -
Atcoder abc128 D
Problem Statement Your friend gave you a dequeue D as a birthday present.D is a horizontal cylinder that contains a row of N jewels. The values of the jewels are V1,V2,…,VN from left to right. There m...原创 2019-07-18 20:15:31 · 552 阅读 · 0 评论 -
abc134 E
题目链接:abc134 E 题意:给你n个数,现在要将它们染色,两个数字有一样的颜色必需满足以下条件,当i<j,Ai<Aj。 意思就是如果它们颜色要相同就必须要是一个上升子序列。 思路:直接模拟就可以了。假定一个集合,一个数加入集合,只有两种情况,如果集合中有比它小的数字,那么它们可以有一个颜色,将这个数替换比他小的那个数(保证子序列它们是递增的),第二种情况就是,没有比他小的了,那么...原创 2019-07-21 15:27:16 · 447 阅读 · 0 评论
分享