|
|
|
¾ÆÀÌÅ¥ Å×½ºÆ®
|
|
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;}
[ °ü·Ã±Û ]
|
|
Page Loading [ 0.03 Sec ]
SQL Time [ 0 Sec ]
|
|
|