Can someone share the results, please?

# | User | Rating |
---|---|---|

1 | tourist | 3539 |

2 | Radewoosh | 3464 |

3 | V--o_o--V | 3338 |

4 | Um_nik | 3307 |

5 | Petr | 3297 |

6 | ecnerwala | 3282 |

7 | LHiC | 3266 |

8 | wxhtxdy | 3264 |

9 | Vn_nV | 3182 |

10 | xyz111 | 3147 |

# | User | Contrib. |
---|---|---|

1 | Radewoosh | 207 |

2 | Errichto | 176 |

3 | neal | 159 |

4 | Ashishgup | 158 |

5 | PikMike | 157 |

6 | Petr | 156 |

6 | majk | 156 |

8 | rng_58 | 155 |

9 | Um_nik | 154 |

9 | 300iq | 154 |

Can someone share the results, please?

↑

↓

Codeforces (c) Copyright 2010-2018 Mike Mirzayanov

The only programming contests Web 2.0 platform

Server time: Jan/19/2019 20:50:35 (f2).

Desktop version, switch to mobile version.

Supported by

User lists

Name |
---|

https://m.imgur.com/17CHYWa

Призëр?

can anyone open the link given in the pic?!

Results

There are more participants in the CMS ranking but less in the official site. Which of them will be considered while dividing medals?

In CMS rating is all participant (official and non-official), while official site count only official participants. Medal will be given to official ones

Do they follow the general rule? I mean dividing like 1/12 gold, 1/6 silver, and 1/4 bronze medals.

I think no

What is the official solution for E? I solved it onsite with dp and lazy segtree, but the number of solves confused me (in our team's opinion there were easier problems that were solved less), so I wonder if there is an easier solution.

Convert the problem to the following dp:

DP[position][answer] — maximum position j, such that the last jump was the interval [j; position] and the number of jumps was answer.

To get we will have the obvious transition from DP[pos] to DP[pos+1] (the values can stay the same) and we also will have additional transitions. We will just binary search on partial sums to find the closest position to the right, such that we can jump to it and increase the answer in the state. This way we have

O(N) transitions for each position.We can easily make the state have

O(N) by not keeping the position. Now the only last observation is that we only need to consider the largest/last 2 values in the dp and do binary search for them only. This way we get solution.hint1`pref[i] - pref[j] >= pref[j] - pref[k]`

=>`pref[i] >= 2 * pref[j] - pref[k]`

`2 * pref[j] - pref[k]`

is constant for every`j`

hint2`dp[i] >= dp[i - 1]`

hint3we should do things like in convex hull ;

`2 * pref[i] - pref[j]`

is like intersection ,`dp[i]`

is like`k`

P.S sorry for my poor English