|
|
back to boardDiscussion of Problem 1068. SumSimple solution Var n:LongInt; Begin ReadLn(n); If n=0 then WriteLn(1) else WriteLn((abs(n+1)*(n-1)+n+1) div 2); End. Re: Simple solution qardas bu dusturu azi 10 defe hemin forumda veribler ? But Who Cares You Simple Program? SHAME!!! Hey... you even know the quantity of correct formulas on this forum... smart boy... It means that you needed them =) P.S. Plz speak in English - This is an international forum! Afgan, Necesan? Ne var ne yox? Gorurem sen de teze bashdamisan... Sual olsa yaz! Cavab Qardas bu formulun duz deyirsen 100 cur novunu yaziblar.Men istedim daha yaxsisi olsun.Umumi olsun.Ona gore bunu yazdim.Formul + ve - ucun eynidir(duz isleyir),yalniz sifirda sehvdir.Onuda if ile gostermisem. This formule calculate - and + correct.Only n=0 then calculate false. Re: ? Edited by author 16.02.2006 00:11 Re: SHAME!!! no i did not need them. I visited forum after i got AC. ele bele. meze ucun.... Edited by author 24.01.2006 12:51 Re: Cavab Please do not give the right source code here. It gives chance to some people to unfairly get AC. Even if it's a very simple task. aaaah. what the hell. he's right. who cares? Edited by author 13.03.2008 12:16 Re: Cavab bu suali 30 deq umumi bir dustur oturub cixardim ve istedimki,buraya yazim.bu dustur yalniz 0-da sehv gosterir.Evvelce bu formulun burada olduqunu bilmirdim,sonradan gordun.Sene bu dusturun cixarilisini Bakiya derse gelende gostererem. Re: Please, use English (-) OK. just one last last thing. Efqan, Mesele dusturda deyil meni sehv basa dushme. neyse. bakiya ne vat gelirsen? gelde heftesonlari. Re: Please, use English (-) Vaxt olan kimi gelecem. Re: Please, use English (-) salam bu efgandi menem celil mene sum programina komek et.Xais edirem.Gozleyirem.saq ol.Sene ugurlar. Re: Simple solution Posted by Suel 11 Jan 2007 19:56 Ele mi? Re: Simple solution Posted by MIG29 23 Feb 2008 16:18 Zatknites nah! :[ |
|
|