原文:Codeforces Round #775 (Div. 2)

目录 Contest Info Reply Solutions A. Game B. Game of Ball Passing C. Weird Sum D. Integral Array E. Tyler and Strings F. Serious Business Contest Info Practice Link Solved A B C D E F O O O O O 在比赛中通过 ...

2022-03-07 00:24 4 456 推荐指数:

查看详情

Codeforces Round #630 (Div. 2)

传送门 A. Exercising Walk 显然横纵坐标我们可以分开考虑。 假设只考虑横坐标,若\(x_2\not ={x_1}\),那么向左/向右走可以互相抵消,然后只能往一个方向走;若\(x ...

Wed Apr 01 22:27:00 CST 2020 0 694
Codeforces Round #757 (Div. 2)

A. Divan and a Store 给你\(N\)个物品,每个物品有相应的价格\(a_i\),你有\(K\)元,问最多能买多少个价格在\([l,r]\)之间的物品 \(1 \leq N \le ...

Sat Nov 27 08:27:00 CST 2021 2 102
Codeforces Round #607 (Div. 2)

太久没做题就会变得很菜。 题目链接:https://codeforces.com/contest/1281/ A: 白给。 View Code B: 显然对于每一位,只能跟后面的字符交换。如果只是O(n)扫,遇到第一个s[i]>c[i ...

Mon Dec 16 03:35:00 CST 2019 0 241
Codeforces Round #744 (Div. 3)

A. Casimir's String Solitaire 思路: 分别记录字母A, B, C的数量,显然要满足B的数量等于A的数量和C的数量的和才行 B. Shifting So ...

Thu Sep 30 16:24:00 CST 2021 0 97
Codeforces Round #592 (Div. 2)

C题全员fst,不过幸好过了D、E,上了62分。现在Rating:1815,上紫指日可待。 先贴个代码,心情好的时候回来补题解QwQ。 Codeforces1244A. Pens and Pencils(水题) View Code ...

Mon Oct 14 05:17:00 CST 2019 0 328
Codeforces Round #593 (Div. 2)

传送门 A. Stones 签到。 B. Alice and the List of Presents 单独考虑每个数的贡献即可。 答案为\((2^{m}-1)^n\)。 C. Labs ...

Fri Oct 18 23:56:00 CST 2019 2 308
Codeforces Round #371 (Div. 1)

A: 题目大意: 在一个multiset中要求支持3种操作: 1.增加一个数 2.删去一个数 3.给出一个01序列,问multiset中有多少这样的数,把它的十进制表示中的奇数改成1,偶数改 ...

Thu Sep 22 07:09:00 CST 2016 7 1210
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM