
codeforces
随_性
大二计算机小白
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
AIM Tech Round 5 (rated, Div. 1 + Div. 2) A-C题解
题目链接:http://codeforces.com/contest/1028/problems A. Find Square(水题) 题意:考虑一个大小为n×m的表,最初是全白色的。 行从上到下编号为1到n,从左到右编号为1到m列。 桌子内部的一些方形,边长为奇数,漆成黑色。 找到这个广场的中心。 题解:数据量并不是很大可以直接暴力找出有效坐标点求中间即可。 AC代码: #inclu...原创 2018-08-28 17:27:19 · 312 阅读 · 0 评论 -
Codeforces Round #531 (Div. 3)
A. Integer Sequence Dividing You are given an integer sequence 1,2,…,n. You have to divide it into two sets A and B in such a way that each element belongs to exactly one set and |sum(A)−sum(B)| is m...原创 2019-01-10 16:11:15 · 1970 阅读 · 0 评论 -
Codeforces Round #530 (Div. 2)[A,B,C,D]
A. Snowball Today’s morning was exceptionally snowy. Meshanya decided to go outside and noticed a huge snowball rolling down the mountain! Luckily, there are two stones on that mountain. Initially, s...原创 2019-01-08 00:57:00 · 670 阅读 · 0 评论 -
Codeforces Round #529 (Div. 3)
A. Repeating Cipher Polycarp loves ciphers. He has invented his own cipher called repeating. Repeating cipher is used for strings. To encrypt the string s=s1s2…sm(1≤m≤101≤m≤10)s=s_1s_2…s_m(1≤m≤101≤m≤...原创 2019-01-08 15:51:00 · 560 阅读 · 0 评论