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
- BFS
- 백준
- 원서읽기
- 원서
- SQL
- D4
- 완전탐색
- 삼성
- 알고리즘
- readingbook
- MySQL
- the midnight library
- STUDYENGLISH
- sw expert academy
- swexpertacademy
- English
- PyQt
- 코딩테스트
- nightroutine
- 쉬운 알고리즘 문제
- 코테
- 코테 준비
- 알고리즘 문제
- 직무면접
- 원서읽자
- 프로그래머스
- dfs
- 코테 대비
- englishbook
- sw expert
Archives
- Today
- Total
목록분해합 (1)
시나브로
[백준] 2231번 분해합
완전탐색으로 1부터 n까지의 모든 숫자를 탐색하였다. 각 자리의 합은 나머지와 나눗셈으로 구현하였다. #include #include #include #include using namespace std; int main(void) { freopen("inp.inp", "r", stdin); freopen("out.out", "w", stdout); long long n; scanf("%lld", &n); long long box = 0; long long same = 0; for (long long i = 1; i
알고리즘/백준
2019. 12. 31. 17:03