![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
暴力
winer_bamboo
这个作者很懒,什么都没留下…
展开
-
CF 1136B Nastya Is Playing Computer Games
题目链接:codeforces.com/problemset/problem/1136/B 题目分析 首先,读完题目,看了是个B题,嗯嗯...... 果断找规律,然后交了一波,居然过了!!! 代码区 #include<iostream> #include<cstdio> #include<algorithm> #include&l...原创 2019-03-29 21:42:50 · 247 阅读 · 0 评论 -
CF 1140A Detective Book
Description Ivan recently bought a detective book. The book is so interesting that each page of this book introduces some sort of a mystery, which will be explained later. The ii-th page contains som...原创 2019-03-26 14:28:08 · 333 阅读 · 0 评论 -
CF 1140B Good String
Description You have a string ss of length nn consisting of only characters > and <. You may do some operations with this string, for each operation you have to choose some character that still...原创 2019-03-26 15:58:30 · 330 阅读 · 0 评论 -
2016-2017 ACM-ICPC, Asia Tsukuba Regional Contest C题 - Distribution Center
题目链接:https://codeforces.com/gym/101158/attachments 这个题目请下载pdf进行查看 。 题目分析 这个题目是在和别的学校的友谊赛中看见的。看完题目后,首先发现的了一个规律,那就是每一条经过一个升降机,升降机两边的这两条路中所含商品就可以共享,所以我原准备用一个数组来记录每一个道路中的所含有的商品数,而后在通过升降机的时候就将二...原创 2019-03-31 19:38:00 · 412 阅读 · 0 评论 -
CF 1136C Nastya Is Transposing Matrices
题目链接:http://codeforces.com/problemset/problem/1136/C 题目分析 看了题目之后,第一想法:任意位置都可以倒置,要是枚举,铁定的超时。所以需要探索规律...... 结果发现,任意的两个数,如果可以交换,其横纵坐标之和一定相同,所以我们只需要用一个数组存储横纵坐标相同的所以点的值,然后判断在的横纵坐标之和相同的情况下,这个数...原创 2019-03-29 13:36:53 · 168 阅读 · 0 评论