Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 알고리즘
- eclipse
- 플라스크
- 이클립스
- sql
- PYTHON
- 웹프로그래밍
- spring
- 에러
- 스프링
- 오라클
- java
- rdbms
- database
- TIL
- 백준
- mybatis
- Git
- mysql
- 데이터베이스
- 파이썬
- 링크
- jQuery
- flask
- javascript
- db
- 자바스크립트
- BOJ
- 자바
- Oracle
Archives
- Today
- Total
목록백준 (10)
기록과 정리의 공간
[알고리즘] 백준 2798번 : 블랙잭
백준 2798번 : 블랙잭 (문제 링크) 사용 언어 : 파이썬(Python) 문제 유형 : 배열, 완전탐색 난이도 : 하 소스코드 import sys n, m = map(int, sys.stdin.readline().split()) cards = list(map(int, sys.stdin.readline(). split())) sum_cards = 0 for i in range(n-2): for j in range(i+1, n-1): for k in range(j+1, n): temp = cards[i] + cards[j] + cards[k] if temp
문제풀이/백준(BOJ)
2020. 7. 17. 17:45
[알고리즘] 백준 2920번 : 음계
백준 2920번 : 음계 (문제 링크) 사용 언어 : 파이썬(Python) 문제 유형 : 배열, 구현 난이도 : 하 소스코드 import sys code = list(map(int, sys.stdin.readline().split())) # a, d results = [True, True] for i in range(1, len(code)): if code[i] - 1 != code[i-1]: results[0] = False if code[i] + 1 != code[i-1]: results[1] = False if results[0]: print('ascending') elif results[1]: print('descending') else: print('mixed..
문제풀이/백준(BOJ)
2020. 7. 17. 16:20