Skip to content

Commit

Permalink
fix: 오늘의 문제 중복으로 seed 단순화
Browse files Browse the repository at this point in the history
  • Loading branch information
tony9402 committed Jul 4, 2024
1 parent 569bcaa commit 8f50a3d
Show file tree
Hide file tree
Showing 9 changed files with 340 additions and 346 deletions.
4 changes: 2 additions & 2 deletions algorithms/graph_traversal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ BFS, DFS 유형을 다양하게 골랐습니다.
|036||<a href="https://www.acmicpc.net/problem/16953" target="_blank">16953</a>|<a href="https://www.acmicpc.net/problem/16953" target="_blank">A → B</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/9.svg"/>|<a href="./../solution/graph_traversal/16953" target="_blank">바로 가기</a>|
|037||<a href="https://www.acmicpc.net/problem/11724" target="_blank">11724</a>|<a href="https://www.acmicpc.net/problem/11724" target="_blank">연결 요소의 개수</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/9.svg"/>|<a href="./../solution/graph_traversal/11724" target="_blank">바로 가기</a>|
|038||<a href="https://www.acmicpc.net/problem/5567" target="_blank">5567</a>|<a href="https://www.acmicpc.net/problem/5567" target="_blank">결혼식</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/9.svg"/>||
|039||<a href="https://www.acmicpc.net/problem/13565" target="_blank">13565</a>|<a href="https://www.acmicpc.net/problem/13565" target="_blank">침투</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/9.svg"/>||
|040||<a href="https://www.acmicpc.net/problem/14496" target="_blank">14496</a>|<a href="https://www.acmicpc.net/problem/14496" target="_blank">그대, 그머가 되어</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/9.svg"/>||
|039||<a href="https://www.acmicpc.net/problem/14496" target="_blank">14496</a>|<a href="https://www.acmicpc.net/problem/14496" target="_blank">그대, 그머가 되어</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/9.svg"/>||
|040||<a href="https://www.acmicpc.net/problem/13565" target="_blank">13565</a>|<a href="https://www.acmicpc.net/problem/13565" target="_blank">침투</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/9.svg"/>||
|041||<a href="https://www.acmicpc.net/problem/17086" target="_blank">17086</a>|<a href="https://www.acmicpc.net/problem/17086" target="_blank">아기 상어 2</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/9.svg"/>||
|042||<a href="https://www.acmicpc.net/problem/1058" target="_blank">1058</a>|<a href="https://www.acmicpc.net/problem/1058" target="_blank">친구</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/9.svg"/>|<a href="./../solution/graph_traversal/1058" target="_blank">바로 가기</a>|
|043||<a href="https://www.acmicpc.net/problem/4963" target="_blank">4963</a>|<a href="https://www.acmicpc.net/problem/4963" target="_blank">섬의 개수</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/9.svg"/>|<a href="./../solution/graph_traversal/4963" target="_blank">바로 가기</a>|
Expand Down
4 changes: 2 additions & 2 deletions algorithms/shortest_path/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
|032||<a href="https://www.acmicpc.net/problem/10282" target="_blank">10282</a>|<a href="https://www.acmicpc.net/problem/10282" target="_blank">해킹</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/12.svg"/>|<a href="./../solution/shortest_path/10282" target="_blank">바로 가기</a>|
|033||<a href="https://www.acmicpc.net/problem/1261" target="_blank">1261</a>|<a href="https://www.acmicpc.net/problem/1261" target="_blank">알고스팟</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/12.svg"/>||
|034||<a href="https://www.acmicpc.net/problem/21940" target="_blank">21940</a>|<a href="https://www.acmicpc.net/problem/21940" target="_blank">가운데에서 만나기</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/12.svg"/>||
|035||<a href="https://www.acmicpc.net/problem/18223" target="_blank">18223</a>|<a href="https://www.acmicpc.net/problem/18223" target="_blank">민준이와 마산 그리고 건우</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/12.svg"/>||
|036||<a href="https://www.acmicpc.net/problem/4485" target="_blank">4485</a>|<a href="https://www.acmicpc.net/problem/4485" target="_blank">녹색 옷 입은 애가 젤다지?</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/12.svg"/>||
|035||<a href="https://www.acmicpc.net/problem/4485" target="_blank">4485</a>|<a href="https://www.acmicpc.net/problem/4485" target="_blank">녹색 옷 입은 애가 젤다지?</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/12.svg"/>||
|036||<a href="https://www.acmicpc.net/problem/18223" target="_blank">18223</a>|<a href="https://www.acmicpc.net/problem/18223" target="_blank">민준이와 마산 그리고 건우</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/12.svg"/>||
|037||<a href="https://www.acmicpc.net/problem/13424" target="_blank">13424</a>|<a href="https://www.acmicpc.net/problem/13424" target="_blank">비밀 모임</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/12.svg"/>||
|038||<a href="https://www.acmicpc.net/problem/2458" target="_blank">2458</a>|<a href="https://www.acmicpc.net/problem/2458" target="_blank">키 순서</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/12.svg"/>||
|039||<a href="https://www.acmicpc.net/problem/20182" target="_blank">20182</a>|<a href="https://www.acmicpc.net/problem/20182" target="_blank">골목 대장 호석 - 효율성 1</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/13.svg"/>||
Expand Down
4 changes: 2 additions & 2 deletions algorithms/string/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
|056||<a href="https://www.acmicpc.net/problem/19583" target="_blank">19583</a>|<a href="https://www.acmicpc.net/problem/19583" target="_blank">싸이버개강총회</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/9.svg"/>||
|057||<a href="https://www.acmicpc.net/problem/3005" target="_blank">3005</a>|<a href="https://www.acmicpc.net/problem/3005" target="_blank">크로스워드 퍼즐 쳐다보기</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/9.svg"/>||
|058||<a href="https://www.acmicpc.net/problem/3107" target="_blank">3107</a>|<a href="https://www.acmicpc.net/problem/3107" target="_blank">IPv6</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/11.svg"/>||
|059||<a href="https://www.acmicpc.net/problem/2671" target="_blank">2671</a>|<a href="https://www.acmicpc.net/problem/2671" target="_blank">잠수함식별</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/11.svg"/>||
|060||<a href="https://www.acmicpc.net/problem/15927" target="_blank">15927</a>|<a href="https://www.acmicpc.net/problem/15927" target="_blank">회문은 회문아니야!!</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/11.svg"/>||
|059||<a href="https://www.acmicpc.net/problem/15927" target="_blank">15927</a>|<a href="https://www.acmicpc.net/problem/15927" target="_blank">회문은 회문아니야!!</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/11.svg"/>||
|060||<a href="https://www.acmicpc.net/problem/2671" target="_blank">2671</a>|<a href="https://www.acmicpc.net/problem/2671" target="_blank">잠수함식별</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/11.svg"/>||
|061||<a href="https://www.acmicpc.net/problem/2115" target="_blank">2115</a>|<a href="https://www.acmicpc.net/problem/2115" target="_blank">갤러리</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/11.svg"/>||
|062||<a href="https://www.acmicpc.net/problem/16890" target="_blank">16890</a>|<a href="https://www.acmicpc.net/problem/16890" target="_blank">창업</a>|<img height="25px" width="25px" src="https://static.solved.ac/tier_small/15.svg"/>||
8 changes: 1 addition & 7 deletions baekjoon_utils/baekjoon_utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,4 @@ def get_today_date_kst_str():


def get_today_random_seed(date: Tuple[int, int, int] = get_today_date()):
range_max = [1073741823, 32768, 128]

seed = 0
for a, b in zip(date, range_max):
random.seed(a)
seed += random.randint(1, b)
return seed
return int(f"{date[0]}{date[1]}{date[2]}")
10 changes: 5 additions & 5 deletions picked.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

| 번호 | 문제 이름 |
| :----: | :---------: |
| [1110](https://www.acmicpc.net/problem/1110) | [더하기 사이클](https://www.acmicpc.net/problem/1110) |
| [14716](https://www.acmicpc.net/problem/14716) | [현수막](https://www.acmicpc.net/problem/14716) |
| [10703](https://www.acmicpc.net/problem/10703) | [유성](https://www.acmicpc.net/problem/10703) |
| [3665](https://www.acmicpc.net/problem/3665) | [최종 순위](https://www.acmicpc.net/problem/3665) |
| [17470](https://www.acmicpc.net/problem/17470) | [배열 돌리기 5](https://www.acmicpc.net/problem/17470) |
| [11720](https://www.acmicpc.net/problem/11720) | [숫자의 합](https://www.acmicpc.net/problem/11720) |
| [22871](https://www.acmicpc.net/problem/22871) | [징검다리 건너기 (large)](https://www.acmicpc.net/problem/22871) |
| [16434](https://www.acmicpc.net/problem/16434) | [드래곤 앤 던전](https://www.acmicpc.net/problem/16434) |
| [22947](https://www.acmicpc.net/problem/22947) | [실행 시간](https://www.acmicpc.net/problem/22947) |
| [17398](https://www.acmicpc.net/problem/17398) | [통신망 분할](https://www.acmicpc.net/problem/17398) |
10 changes: 5 additions & 5 deletions picked_legacy.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

| 번호 | 문제 이름 |
| :----: | :---------: |
| [1110](https://www.acmicpc.net/problem/1110) | [더하기 사이클](https://www.acmicpc.net/problem/1110) |
| [14716](https://www.acmicpc.net/problem/14716) | [현수막](https://www.acmicpc.net/problem/14716) |
| [10703](https://www.acmicpc.net/problem/10703) | [유성](https://www.acmicpc.net/problem/10703) |
| [3665](https://www.acmicpc.net/problem/3665) | [최종 순위](https://www.acmicpc.net/problem/3665) |
| [17470](https://www.acmicpc.net/problem/17470) | [배열 돌리기 5](https://www.acmicpc.net/problem/17470) |
| [11720](https://www.acmicpc.net/problem/11720) | [숫자의 합](https://www.acmicpc.net/problem/11720) |
| [22871](https://www.acmicpc.net/problem/22871) | [징검다리 건너기 (large)](https://www.acmicpc.net/problem/22871) |
| [16434](https://www.acmicpc.net/problem/16434) | [드래곤 앤 던전](https://www.acmicpc.net/problem/16434) |
| [22947](https://www.acmicpc.net/problem/22947) | [실행 시간](https://www.acmicpc.net/problem/22947) |
| [17398](https://www.acmicpc.net/problem/17398) | [통신망 분할](https://www.acmicpc.net/problem/17398) |

## 2024/07/03

Expand Down
Loading

0 comments on commit 8f50a3d

Please sign in to comment.