일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- Counting cells in a blob
- 수 정렬하기
- 백준
- C++
- 파이썬머신러닝완벽가이드
- almostIncreasingSequence
- Daily Commit
- adjacentElementsProduct
- 2015 봄학기 알고리즘
- til
- shapeArea
- Sequential Search
- 10953
- codesignal
- collections.deque
- recursion
- 파이썬 포렌식
- markdown
- Numpy
- matrixElementsSum
- 피보나치 수
- baekjun
- 2750
- cpp
- data_structure
- Python
- All Longest Strings
- codesingal
- flask
- centuryFromYear
Archives
- Today
- Total
Introfor
Attractive '4096' 본문
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | __author__ = "introfor"; /* Title: 4096 History: 2016/11/11 Starting 4096 2016/11/28 Finished 4096 */ #include <stdio.h> int main() { int cnt = 1; int tmp = 1; for (int i = 0; i < 8; i++) { for (int j = 0; j < 8; j++) { for (int k = 0; k < 8; k++) { printf("%4d %4d %4d %4d %4d %4d %4d %4d |", cnt, cnt + 1, cnt + 2, cnt + 3, cnt + 4, cnt + 5, cnt + 6, cnt + 7); cnt += 64; } tmp += 8; cnt = tmp; printf("\n"); } tmp += 448; cnt = tmp; printf("\n\n"); } return 0; } | cs |
'Doing > C&C++' 카테고리의 다른 글
피라미드 출력 (0) | 2016.11.15 |
---|---|
가로, 세로 길이 입력 받고, 사각형 만들기 (0) | 2016.11.15 |
숫자마름모 (0) | 2016.11.03 |
키와 몸무게를 입력 받아서 표준, 과체중, 저체중 출력 (0) | 2016.11.02 |
숫자사각형2 (0) | 2016.11.02 |
Comments