redoCxz
redoCxz
全部文章
ACM练习题
ACM练习赛(18)
BZOJ刷题(5)
C++算法模板(20)
codeforce(4)
hdu(8)
java(16)
Java算法模板(24)
kotlin(1)
Leetcode(12)
Lintcode(26)
剑指offer(1)
拓展欧几里德(1)
最小生成树(1)
未归档(70)
杂七杂八(41)
水题(1)
牛客网(2)
牛客网错题总结(1)
算法四(2)
题解(1)
归档
标签
去牛客网
登录
/
注册
redoCxz的博客
全部文章
/ ACM练习题
(共250篇)
牛客小白赛6D——字符串丝带
链接:https://www.nowcoder.com/acm/contest/136/D 来源:牛客网 题目描述 WHZ送给了HtBest一个“字符串丝带”,这条丝带由n个小写字母按照一定的顺序排列组成,HtBest收到新礼物后有许多问题,类似“第i个位置的字母在前i个位置中出现了几次?”,...
2021-04-05
0
568
Codeforces1008A——Romaji
Vitya has just started learning Berlanese language. It is known that Berlanese uses the Latin alphabet. Vowel letters are “a”, “o”, “u”, “i”, and “e”....
2021-04-05
0
541
Codeforces1008B——Turn the Rectangles
There are n rectangles in a row. You can either turn each rectangle by 90 degrees or leave it as it is. If you turn a rectangle, its width will be hei...
2021-04-05
0
431
Codeforces1009C——Reorder the Array
You are given an array of integers. Vasya can permute (change order) its integers. He wants to do it so that as many as possible integers will become ...
2021-04-05
0
442
Codeforces1009A——Game Shopping
Maxim wants to buy some games at the local game shop. There are n games in the shop, the i-th game costs ci. Maxim has a wallet which can be represen...
2021-04-05
0
453
Codeforces1009B——Minimum Ternary String
You are given a ternary string (it is a string which consists only of characters ‘0’, ‘1’ and ‘2’). You can swap any two adjacent (consecutive) chara...
2021-04-05
0
461
Codeforces1009C——Annoying Present
Alice got an array of length n as a birthday present once again! This is the third year in a row! And what is more disappointing, it is overwhelmengl...
2021-04-05
0
341
Codeforces1009D——Relatively Prime Graph
Let’s call an undirected graph G=(V,E) relatively prime if and only if for each edge (v,u)∈E GCD(v,u)=1 (the greatest common divisor of v and u is 1)....
2021-04-05
0
383
Codeforces1009E——Intercity Travelling
Leha is planning his journey from Moscow to Saratov. He hates trains, so he has decided to get from one city to another by car. The path from Moscow ...
2021-04-05
0
486
poj3660——Cow Contest
N (1 ≤ N ≤ 100) cows, conveniently numbered 1..N, are participating in a programming contest. As we all know, some cows code better than others. Each ...
2021-04-05
0
387
首页
上一页
3
4
5
6
7
8
9
10
11
12
下一页
末页