- 博客(5)
- 收藏
- 关注
原创 Codeforces Round #590 (Div. 3)
题目链接 A: Equalize Prices Again B2: Social Network (hard version) C: Pipes D: Distinct Characters Queries A: 题意:求n个数和的平均值,向上取整。 #include<iostream> #include<algorithm> #define ll long long ...
2019-10-02 12:15:01
167
原创 数据结构(上)(自主模式) 列车调度(Train)
列车调度(Train) Description Figure 1 shows the structure of a station for train dispatching. Figure 1 In 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
396
原创 数据结构(上)(自主模式) 灯塔(LightHouse)
灯塔(LightHouse) Description As 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
651
原创 数据结构(上)(自主模式) 祖玛(Zuma)
祖玛(Zuma) Description Let’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
581
原创 数据结构(上)(自主模式) 范围查询(Range)
范围查询(Range) Descriptioin Let 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. Input The first line contains two integers: ...
2019-09-30 23:27:13
505
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅