Develop
2013.04.23 14:52

[c] 구구단 최단라인 ㅡㅡ;

Views 8003 Votes 0 Comment 0
Atachment
Attachment '1'
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
아래처럼 구구단을 1단부터 51단까지 한 라인에 3단식 출력함.
최단 라인, 최소 문자(118글자)로 만든 소스코드~ ㅋㅋ
 
  1 x   1 =   2   2 x   1 =   3   3 x   1 =   4 
  1 x   2 =   4   2 x   2 =   6   3 x   2 =   8 
  1 x   3 =   6   2 x   3 =   9   3 x   3 =  12 
  1 x   4 =   8   2 x   4 =  12   3 x   4 =  16 
  1 x   5 =  10   2 x   5 =  15   3 x   5 =  20 
  1 x   6 =  12   2 x   6 =  18   3 x   6 =  24 
  1 x   7 =  14   2 x   7 =  21   3 x   7 =  28 
  1 x   8 =  16   2 x   8 =  24   3 x   8 =  32 
  1 x   9 =  18   2 x   9 =  27   3 x   9 =  36 
  1 x  10 =  20   2 x  10 =  30   3 x  10 =  40 
 
  4 x   1 =   5   5 x   1 =   6   6 x   1 =   7 
  4 x   2 =  10   5 x   2 =  12   6 x   2 =  14 
  4 x   3 =  15   5 x   3 =  18   6 x   3 =  21 
  4 x   4 =  20   5 x   4 =  24   6 x   4 =  28 
  4 x   5 =  25   5 x   5 =  30   6 x   5 =  35 
  4 x   6 =  30   5 x   6 =  36   6 x   6 =  42 
  4 x   7 =  35   5 x   7 =  42   6 x   7 =  49 
  4 x   8 =  40   5 x   8 =  48   6 x   8 =  56 
  4 x   9 =  45   5 x   9 =  54   6 x   9 =  63 
  4 x  10 =  50   5 x  10 =  60   6 x  10 =  70 
 
  ...
 
 46 x   1 =  47  47 x   1 =  48  48 x   1 =  49 
 46 x   2 =  94  47 x   2 =  96  48 x   2 =  98 
 46 x   3 = 141  47 x   3 = 144  48 x   3 = 147 
 46 x   4 = 188  47 x   4 = 192  48 x   4 = 196 
 46 x   5 = 235  47 x   5 = 240  48 x   5 = 245 
 46 x   6 = 282  47 x   6 = 288  48 x   6 = 294 
 46 x   7 = 329  47 x   7 = 336  48 x   7 = 343 
 46 x   8 = 376  47 x   8 = 384  48 x   8 = 392 
 46 x   9 = 423  47 x   9 = 432  48 x   9 = 441 
 46 x  10 = 470  47 x  10 = 480  48 x  10 = 490 
 
 49 x   1 =  50  50 x   1 =  51  51 x   1 =  52 
 49 x   2 = 100  50 x   2 = 102  51 x   2 = 104 
 49 x   3 = 150  50 x   3 = 153  51 x   3 = 156 
 49 x   4 = 200  50 x   4 = 204  51 x   4 = 208 
 49 x   5 = 250  50 x   5 = 255  51 x   5 = 260 
 49 x   6 = 300  50 x   6 = 306  51 x   6 = 312 
 49 x   7 = 350  50 x   7 = 357  51 x   7 = 364 
 49 x   8 = 400  50 x   8 = 408  51 x   8 = 416 
 49 x   9 = 450  50 x   9 = 459  51 x   9 = 468 
 49 x  10 = 500  50 x  10 = 510  51 x  10 = 520
?

List of Articles
No. Category Subject Author Date Views
25 Develop [Android Error] The number of method references in a .dex file cannot exceed 64K hooni 2016.11.10 754
24 Develop [ajax] 이벤트 코드 생성기 작업중.. ㅋㅋ file hooni 2013.04.23 7116
23 Develop [ajax] 샘플 코드와 한글처리에 대한 간단한 설명 hooni 2013.04.23 6842
22 Develop ZBar 라이브러리를 이용한 바코드 스캔 앱 개발하기 file hooni 2015.01.01 1628
21 Develop XML, JSON, BSON, MSGPACK 장,단점 비교 file hooni 2017.01.11 2239
20 Develop XE Core 1.8.18 본문 작성시 태그(html) 사라지는 버그 file hooni 2016.04.21 864
19 Develop What is difference between Get, Post, Put and Delete? hooni 2018.02.28 1400
18 Develop URI 인코딩, URL 인코딩 file hooni 2013.04.23 18845
17 Develop SVN 초간단 사용하기 hooni 2014.02.28 7616
16 Develop SVN 명령어 (SVN command) hooni 2014.02.28 12137
15 Develop OPT와 CAS에 대한 자료.. (교수님 메일로 보내드린 자료..) file hooni 2013.04.23 13917
14 Develop OpenGL 강좌 사이트 모음 hooni 2013.04.23 9637
13 Develop OGNL(Object Graph Navigation Language) hooni 2013.04.23 15727
12 Develop macOS에 node, npm 설치하기 (homebrew) file hooni 2021.11.06 1139
11 Develop Mac OS 에 Jenkins 설치하기 (Homebrew) 2 file hooni 2017.03.15 8092
10 Develop Laravel 5 Failed opening required bootstrap/../vendor/autoload.php hooni 2018.01.24 1652
Board Pagination Prev 1 ... 49 50 51 52 53 Next
/ 53