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 1648. Yachts

Do you know a better Algorithm
Posted by lql1993 2 Dec 2008 16:33
This is my program:

[code deleted]

  I got AC,but I want to know a better algorithm which
is shorter than my program.

  Thanks.

Edited by author 02.12.2008 16:34

Edited by author 02.12.2008 16:34

Edited by moderator 26.01.2020 20:06
Re: Do you know a better Algorithm
Posted by aybol 7 Apr 2009 00:12
fuck you bitch!!!!
Re: Do you know a better Algorithm
Posted by grandvic 19 Jun 2011 19:22
Comrade! I hope, everything is much better then you think :) This algorithm has O(N) complexity. Beter complexity is impossible, because you have to look every month record... Though, this algorithm is optimal...

Edited by author 19.06.2011 19:24
Re: Do you know a better Algorithm
Posted by Juliet 27 Jun 2011 14:51
Apply the GOOD JOB for College ACMers to Make Large Money and Become a Millionaire

Hello, We need large no. of dedicated and hard working ACMers. The payment is good so we need ACMers to be efficient. All you have to do to get the job is to sign up at our websites. The link of our websites are given below.

http://www.PaisaLive.com/register.asp?3556638-4847933

After the registration, a confirmation email will be sent to your specified email address. Please click on the link inside the confirmation email to activate your account and recieve ACM work instantly. For any other queries you can mail the administrator.

Miss Juliet

Admin paisalive.com