본문 바로가기

루피도 코딩한다

검색하기
루피도 코딩한다
프로필사진 xiaolin219

  • 분류 전체보기 (39)
    • Android (8)
    • Algorithm (9)
    • Coroutine (13)
    • Figma (1)
    • SW마에스트로 (1)
    • 기타 (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
  • Github
«   2025/10   »
일 월 화 수 목 금 토
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
  • 안드로이드
  • 백준2309
  • app-distribution
  • coroutinescope
  • coroutine
  • Product Flavor
  • ServerDrivenUI
  • google play console
  • 릴리즈 키해시
  • hotStream
  • TOSS 과제
  • Advanced LCA
  • java
  • ShapeableImageView
  • collectLatest
  • withContext
  • coroutinecontext
  • Algorithm
  • flowon
  • Android
  • KAKAO
  • cancellationException
  • coldStream
  • Flow
  • monotone stack
  • conflate
  • Kotlin
  • Next Challenge
  • 백준
  • SDUI
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록BOJ (1)

루피도 코딩한다

[백준 2798번: 블랙잭](Java)

[알고리즘] 브루트포스(순열) 블랙잭 문제는 순열을 활용한 문제입니다. Python에서는 itertools, C++에는 next_permutation와 같은 내장함수가 순열을 지원해 주시만, Java에서는 내장함수가 없으므로 Recursion, 혹은 다중 for문을 활용하여 이를 직접 구현해야합니다. 아래 코드는 Recursion을 활용한 방법입니다. import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { static final int CARD = 3; static int N, M; static in..

Algorithm 2022. 5. 9. 15:47
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바