250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- dfs
- English
- readingbook
- englishbook
- 원서
- 코딩테스트
- 쉬운 알고리즘 문제
- 직무면접
- sw expert academy
- 삼성
- 원서읽기
- 코테
- 알고리즘 문제
- PyQt
- 완전탐색
- 원서읽자
- swexpertacademy
- 프로그래머스
- 코테 준비
- 백준
- nightroutine
- STUDYENGLISH
- MySQL
- the midnight library
- D4
- SQL
- 알고리즘
- 코테 대비
- BFS
- sw expert
Archives
- Today
- Total
목록자료구조 연습 (1)
시나브로
8393 합
10까지의 합이면 1+2+3+4+5+6+7+8+9+10 = (1+10)+(2+9)+(3+8)+(4+7)+(5+6)= 11*5 로 표현할 수 있다. 숫자 짝수일 때는 중간의 수를 한번더 더해주면 된다. #include int main(void) { freopen("inp.inp", "r", stdin); freopen("out.out", "w", stdout); int number = 0; scanf("%d", &number); int box = 0; for (int i = 1; i
알고리즘/백준
2020. 1. 9. 14:39