Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

Jeopardized Election - a problem no team in Latin America was able to solve (ICPC 2018)
Разница между en3 и en4, 105 символ(ов) изменены
Hi, I'm trying to solve the problem [Jeopardized Election](https://www.urionlinejudge.com.br/judge/es/problems/view/2912). This was problem J in 2018 ICPC Latin America Regional Contest. No team in Latin America was able to solve it during the contest, check out the [final scoreboard](http://maratona.ime.usp.br/hist/2018/resultados18/resultadoslatam.pdf). I'm trying to figure out the solution but so far I can only think of the brute force approach, which is factorial and can't work. I've got a feeling that there must be a greedy strategy to solve it, but I'm not sure. Any help will be appreciatedIt would be awesome if some of the genius minds here in Codeforces could share some light on the solution.↵

Thank you very much!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en6 Английский pabloskimg 2019-10-26 19:54:15 3 Tiny change: 's could share some ligh' -> 's could shed some ligh'
en5 Английский pabloskimg 2019-10-26 07:59:47 2 Tiny change: 'inds here in Codeforc' -> 'inds here on Codeforc'
en4 Английский pabloskimg 2019-10-26 07:58:47 105
en3 Английский pabloskimg 2019-10-26 07:56:26 472
en2 Английский pabloskimg 2019-10-25 08:38:37 17
en1 Английский pabloskimg 2019-10-24 19:34:31 354 Initial revision (published)