sums the numbers between 205 and 204493... no problem right?
latest #15
where's the code? care to pastebin it?
anyway, unless I have a morning brainf*ck that should be 20908774861
well, that's the formula but I guess you cannot use that if it's an assignment
actually you can. since you just add by 1, you can substitute the a1 as 205 and a(n-205) as 204493...
I meant an assignment as in "class assignment" - like: "do this exactly, no shortcuts"
well, it's a shortcut, but you can argue that it's a more optimal solution-- unless your assignment is about loops.. =\
no, not assigment of course =)
back to top