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 1079. Maximum

No subject
Posted by Goga 18 Feb 2005 22:30
for i:=2 to n do
if i mod 2=0
then
a[i]=a[i div 2]
else
a[i]:=a[i div 2]+a[i div 2+1]



for pascal
Re: No subject
Posted by ФерПИ_1 19 Feb 2005 16:45
ЧЁ шлёш туфту самый умный что ли