leon-mcd 님의 블로그

  • 홈
  • 태그
  • 방명록

JadenCase 1

programmers JadenCase 문자열 만들기

programmerslevel2 JadenCase 문자열 만들기문제 설명JadenCase란 모든 단어의 첫 문자가 대문자이고, 그 외의 알파벳을 소문자인 문자열이다. 주어진 문자열을 JadenCase 규칙에 맞게 리턴하는 문제이다.제한조건문자열은 알파벳, 숫자, 공백문자로 이루어져 있다.숫자는 단어의 첫 문자로만 나온다.숫자로만 이루어진 단어는 없으며, 공백문자가 연속해서 나올 수 있다.풀이#include #include #include using namespace std;string solution(string s) { string answer = ""; vector space_arr; int space_cnt = 0; for(size_t a=0; a> temp){ ..

baekjoon, programmers 2024.07.03
이전
1
다음
더보기
프로필사진

leon-mcd 님의 블로그

leon-mcd 님의 블로그 입니다.

  • 분류 전체보기 (38)
    • C++ (4)
    • Python (0)
    • baekjoon, programmers (34)
    • 시스템 설정 (0)
    • Study (0)
      • AWS (0)

Tag

Algorithm, istringstream, sort, reverse_sort, sstream, 코테준비, 코드트리, c++, programers, ostringstream, cctype, unordered_map, 이진 변환, string, JadenCase, 코테공부, 갭체크, queue, programmers, 알고리즘,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2026/06   »
일 월 화 수 목 금 토
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 © AXZ Corp. All rights reserved.

티스토리툴바