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 1100. Final Standings

GOOD IDEA
Posted by Dark_MeFoD 4 Jan 2010 23:12
I advise not to use sorting. Much less time takes the decision with use of a two-dimensional matrix a[0..100,0..150000].
Re: GOOD IDEA
Posted by dAFTc0d3r [Yaroslavl SU] 25 Mar 2010 02:20
Yeah. =) It's called a Counting sort.
Re: GOOD IDEA
Posted by vbird 18 May 2011 13:51
Good idea !