=== Azitrex- is now known as Azitrex | ||
=== ashkan_ is now known as ashkan | ||
sadsagfjg_ | salam man yek soal dashtam ke elishesh ine: | 12:19 |
---|---|---|
sadsagfjg_ | vali ke bishtar rahnamaei dar algorithm mikham | 12:19 |
sadsagfjg_ | we have a some numbers, we have to divide this numbers into two group which difference between these two groups be minimum. for example if n=3, we have three numbers, for example: 4,5,10. for this example, answer is 4,5__10 because 4+5=9 (first group) and second group is 10. and difference between them are 10-9=1 ...now, I have to write a program with C++ language for this job. is there any body help me. thanks alot. best rega | 12:19 |
mohammad | slm | 12:38 |
=== mohammad is now known as Guest80826 | ||
Guest80826 | kasi hast | 12:39 |
Guest80826 | ye komaki be man bokone | 12:39 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!