|
|
back to boardDiscussion of Problem 1068. Sumcompilation error ??? can anyone help me? [code deleted] Edited by moderator 09.05.2007 16:04 Re: compilation error ??? can anyone help me? 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 Re: compilation error ??? can anyone help me? Hehe, maybe for(i=n;i>=1;i--) instead of for(i=1,i>=n,i--)? Re: compilation error ??? can anyone help me? NO,when n<=0 [code deleted] Edited by moderator 09.05.2007 16:05 |
|
|