- 博客(5)
- 收藏
- 关注
原创 Codeforces Round #590 (Div. 3)
题目链接A: Equalize Prices AgainB2: Social Network (hard version)C: PipesD: Distinct Characters QueriesA:题意:求n个数和的平均值,向上取整。#include<iostream>#include<algorithm>#define ll long long...
2019-10-02 12:15:01
98
原创 数据结构(上)(自主模式) 列车调度(Train)
列车调度(Train)DescriptionFigure 1 shows the structure of a station for train dispatching.Figure 1In this station, A is the entrance for each train and B is the exit. S is the transfer end. All singl...
2019-09-30 23:49:49
314
原创 数据结构(上)(自主模式) 灯塔(LightHouse)
灯塔(LightHouse)DescriptionAs shown in the following figure, If another lighthouse is in gray area, they can beacon each other.For example, in following figure, (B, R) is a pair of lighthouse which ...
2019-09-30 23:40:21
526
原创 数据结构(上)(自主模式) 祖玛(Zuma)
祖玛(Zuma)DescriptionLet’s play the game Zuma!There are a sequence of beads on a track at the right beginning. All the beads are colored but no three adjacent ones are allowed to be with a same color...
2019-09-30 23:33:50
464
原创 数据结构(上)(自主模式) 范围查询(Range)
范围查询(Range)DescriptioinLet S be a set of n integral points on the x-axis. For each given interval [a, b], you are asked to count the points lying inside.InputThe first line contains two integers: ...
2019-09-30 23:27:13
391
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人