jmmm_25

    Algorithm 2

    Medium 1689. Partitioning Into Minimum Number Of Deci-Binary Numbers

    문제 출처: leetcode.com/problems/partitioning-into-minimum-number-of-deci-binary-numbers/ Partitioning Into Minimum Number Of Deci-Binary Numbers - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com deci-binary란 0으로 시작하지 않는 0과 1로 이루어진 값이다. 32는 10 + 11 + 11 의 구성으로 이루어진 deci-binary로 표현을 할 수..

    Algorithm/LeetCode 2021.02.11

    1541번 잃어버린 괄호

    문제출처: www.acmicpc.net/problem/1541 위 문제는 주어진 식에 괄호를 적절히 쳐서 결과 값을 최소로 만드는 문제이다. 해당 예제 55 - 50 + 40는 55 - (50 + 40)으로 괄호를 적용할 경우 최소가 된다. for문을 통해 문자인 숫자를 붙여주고, 처음에 나온 연산자가 + 일 경우에는 더해주고, 그 외에는 -를 해주는 것이 최소값이 된다. #include using namespace std; string str; int sol(string str) { int ret = 0; string s = ""; bool isMinus = false; for (int i = 0; i > str; cout

    Algorithm/BOJ 2020.12.14
    이전
    1
    다음
    더보기
    프로필사진

    jmmm_25

    IT 기록

    • 분류 전체보기 (106)
      • Algorithm (87)
        • BOJ (78)
        • Programmers (3)
        • LeetCode (4)
        • Coding (1)
      • Spring (1)
        • Security (1)
        • Reactive Programming (0)
      • Java (1)
      • Vue.js (3)
      • Design Pattern (7)
      • Object (6)
      • ETC (1)

    Tag

    C언어, Hacking, vue.js, OOP, picoctf, 백준, again, Tyrannosaurus Hex, coding, IT, Security, C++, 알고리즘, 스터디, 객체지향, BOJ, www.picoctf.com, Algorithm, 오브젝트, Programming,

    최근글과 인기글

    • 최근글
    • 인기글

    최근댓글

    공지사항

    페이스북 트위터 플러그인

    • Facebook
    • Twitter

    Archives

    Calendar

    «   2025/09   »
    일 월 화 수 목 금 토
    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

    방문자수Total

    • Today :
    • Yesterday :

    Copyright © Kakao Corp. All rights reserved.

    티스토리툴바