ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1168. Radio Stations

Show all messages Hide all messages

Mine is 0.156s.
I use searching and some calculation.
I think maybe you got an slow algrithm with only searching.
I got AC in 0.14 sec and didn't use any kind of special things. Just stupid counting Hmin and Hmax for each point of the matrix
simple algorithm ASK 18 Mar 2018 00:55
now it is 0.031 s

sorting stations by radius does not change anything