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 1068. Sum

dileepkumar compilation error ??? can anyone help me? [3] // Problem 1068. Sum 7 May 2007 17:59
[code deleted]

Edited by moderator 09.05.2007 16:04
CHIDEMYAN SERGEY Re: compilation error ??? can anyone help me? [2] // Problem 1068. Sum 7 May 2007 18:28
At first Don't use longlongint~~!!
Int is enough!!!
at second you have mistakes in for(i=1;i<=n;i++)
you must use ; instead of ,
and at last write
for(i=1;i>=n;i--) instead of for(i=1,i<=n,i--)


[code deleted]

Edited by moderator 09.05.2007 16:05
Romko [Lviv NU] Re: compilation error ??? can anyone help me? [1] // Problem 1068. Sum 7 May 2007 23:36
Hehe, maybe for(i=n;i>=1;i--) instead of for(i=1,i>=n,i--)?
CHIDEMYAN SERGEY Re: compilation error ??? can anyone help me? // Problem 1068. Sum 8 May 2007 19:26
NO,when n<=0

[code deleted]

Edited by moderator 09.05.2007 16:05