Codeforces celebrates 10 years! We are pleased to announce the crowdfunding-campaign. Congratulate us by the link https://codeforces.com/10years. ×

Yunomi's blog

By Yunomi, history, 3 years ago, In English,

796D - Police Stations.
Why this solution passes? It adds police stations to queue more than once, so I think it will fail when there's a lot of police stations in city x, and x is connected with every other city. Test example

Read more »

 
 
 
 
  • Vote: I like it
  • +13
  • Vote: I do not like it