B / Y / U / S
HOME À¥ È£½ºÆà µµ¸ÞÀÎ ¸Å´º¾ó °í°´Áö¿ø ¼³Á¤Á¤º¸ °èÁ¤½Åû 2024-12-30 Monday 
À¥ È£½ºÆÃ
# °øÁö »çÇ×
# ÀÚÁÖ ¹¯´Â Áú¹®
# Áú¹®°ú ´äº¯
# °¡ÀÔ ¹®ÀÇ
Ä¿¹Â´ÏƼ
# ÀÚÀ¯°Ô½ÃÆÇ
# ¸®´ª½ºÆÁ
# ¾ÆÀÌÅ¥ Å×½ºÆ®
# ³»È¨ ¼Ò°³
# °Ö·¯¸®
# ÀÚ·á½Ç

  ¾ÆÀÌÅ¥ Å×½ºÆ®
Read Reply from No. 2 article 2002-01-12 15:13:08
NickName   ¸Ç
Subject   Re: ½Ã¹Ä·¹ÀÌ¼Ç °á°ú
ÄÄÇ»ÅÍ·Î µ¹·Áº» °á°ú 24ºÐÀÌ ¸Â±º¿ä..
¹«Áö¸·ÁöÇÏ°Ô ´Ã¾î³ª´Â±º..
ºÐ¸¶´Ù ÀÌ¹Ì ÀâÇô¸Ô°í ³²Àº ¸¶ ¸®¼öÀÔ´Ï´Ù. 
1ºÐ  x:2   y:46
2ºÐ  x:4   y:88
3ºÐ  x:8   y:168
4ºÐ  x:16   y:320
5ºÐ  x:32   y:608
6ºÐ  x:64   y:1152
7ºÐ  x:128   y:2176
8ºÐ  x:256   y:4096
9ºÐ  x:512   y:7680
10ºÐ  x:1024   y:14336
11ºÐ  x:2048   y:26624
12ºÐ  x:4096   y:49152
13ºÐ  x:8192   y:90112
14ºÐ  x:16384   y:163840
15ºÐ  x:32768   y:294912
16ºÐ  x:65536   y:524288
17ºÐ  x:131072   y:917504
18ºÐ  x:262144   y:1572864
19ºÐ  x:524288   y:2621440
20ºÐ  x:1048576   y:4194304
21ºÐ  x:2097152   y:6291456
22ºÐ  x:4194304   y:8388608
23ºÐ  x:8388608   y:8388608
24ºÐ  x:16777216   y:0
°á°ú-----------------------------
½Ã°£:24
³²Àº ³ðµé x:16777216 y:0

//ÄÚµå -_-; ÄÄÆÄÀÏ Àß µË´Ï´õ.
#include <iostream.h> 
int main(){int x=1,y=24;for(int ti=1;ti<100;ti++){ 
if(x<=y){y=y-x;x=x+x;y=y+y;cout<<ti<<"ºÐ x"<<x<<"
y:"<<y<<endl;}
else{cout<<"°á°ú---"<<endl<<"x:"<<x<< "y:"<<y<<
endl;break;}} return 0;}
Æнº¿öµå¸¦ ÀÔ·ÂÇØ ÁֽʽÿÀ. »èÁ¦ÇÑ °Ô½Ã¹°Àº º¹±¸ÇÒ ¼ö ¾ø½À´Ï´Ù.
Æнº¿öµå:    

Copyleft 1999-2024 by JSBoard Open Project
Theme Designed by IDOO And follow GPL2

°³ÀÎÁ¤º¸ Ãë±Þ¹æħ ÀÌ¿ë ¾à°ü »çÀÌÆ® ¸Ê ¾îµå¹Î °ü¸®