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 1431. Diplomas

there is a polynolyal time solution, my is O(N^3)
Posted by Alias aka Alexander Prudaev 11 Aug 2008 06:36
Re: there is a polynolyal time solution, my is O(N^3)
Mine is O(N) =)
Re: there is a polynolyal time solution, my is O(N^3)
Posted by AlMag 11 Aug 2008 20:33
of course, O(N)
Re: there is a polynolyal time solution, my is O(N^3)
Posted by gautamvs 28 Nov 2013 00:00
sorting array can help improving O(N^3) to O(N^2)