ENG
RUS
Timus 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
1402
. Cocktails
Show all messages
Hide all messages
This is a stupid question...!!!
Imran Yusubov
13 Aug 2009 10:54
Dose anyone know a better solution?I used big Ints for this task.Do anyone has a mathematic solution?
Re: This is a stupid question...!!!
DNS
27 Jul 2010 03:13
I have mathematic solution.
a[i]=i*a[i-1]+i*(i-1); - it's true
© 2000–2024
Timus Online Judge Team
. All rights reserved.