خوب ساده ترین الگوریتم اینه که عدد رو یه بار تقسیم بر دو کنی بعد بزاریش توی cx بعد تویه حلقه همینطوری تقسیمش کنی تا موقعی که باقیمونده صفر بشه . وگرنه اوله .
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum