C++ 코딩 챌린지

C++로 풀 수 있는 챌린지 341개. 첫 반복문부터 그래프, 동적 프로그래밍, 머신러닝까지. 브라우저에서 코드를 작성하고 바로 테스트한 뒤 AI 리뷰를 받으세요.

쉬움 · 193 보통 · 119 어려움 · 29

연습할 기술: 중첩 반복문개수 세기반복문문자열 만들기소수 판별에라토스테네스의 체자릿수 추출조건문2차원 리스트while 반복문공식대칭
  • Python · C++ · C#
  • 자동 테스트
  • AI 코드 리뷰
  • 커뮤니티 솔루션
341
챌린지
245
공유된 솔루션
9
언어

모든 챌린지

이름이나 주제로 검색하거나 난이도로 필터링하세요.

341개 챌린지
쉬움

Distance Between Points

Compute the straight-line distance between two points.

배우는 내용 피타고라스 정리제곱근
초급함수Learning-path수학
보통

Game of Life Step

Advance Conway's Game of Life by one generation.

배우는 내용 격자 시뮬레이션이웃 세기
고급격자HackathonSimulation
어려움

최단 배달 투어

모든 도시를 한 번씩 방문하고 집으로 가장 저렴하게 돌아오세요.

배우는 내용 비트마스크 DP외판원 문제
고급Bitmasks알고리즘 대회동적 계획법
어려움

Minimum Window Substring

Find the shortest piece of text containing all required characters.

배우는 내용 윈도 늘이고 줄이기빈도표
고급알고리즘 대회Sliding-windowStrings
어려움

Longest Path in a DAG

Find the heaviest path in a task dependency graph.

배우는 내용 위상 순서DAG 위의 DP
고급GraphsHackathonTopological-sort
보통

Gradebook Top Student

Find the student with the highest average score.

배우는 내용 2차원 리스트평균
초급함수격자Learning-path
보통

Count Islands

Count groups of connected land cells in a grid.

배우는 내용 플러드 필재귀 DFS
초급격자Learning-path재귀
보통

K번째로 작은 원소

전체 정렬 없이 k번째로 작은 값을 찾으세요.

배우는 내용 퀵셀렉트분할
고급알고리즘 대회정렬
쉬움

소수 판별

숫자가 소수인지 판별하세요.

배우는 내용 나누어떨어짐 판별반복문 최적화
초급반복문수입문자
어려움

Word Break

Decide whether text can be split into dictionary words.

배우는 내용 접두사 DP단어 분할
고급동적 계획법HackathonStrings
어려움

Median of Two Sorted Arrays

Find the median of two sorted lists combined.

배우는 내용 분할 위치 탐색O(log n)
고급이분 탐색알고리즘 대회
쉬움

Number Triangle

Build a triangle of increasing numbers.

배우는 내용 길어지는 행행을 넘나드는 카운터
초급Learning-path중첩 반복문패턴 출력
쉬움

Rectangle Perimeter

Compute the perimeter of a rectangle from its sides.

배우는 내용 산술반환값
초급Learning-pathVariables
어려움

Strongly Connected Components

Count groups of nodes that can all reach each other.

배우는 내용 그래프 알고리즘타잔 또는 코사라주
고급알고리즘 대회Graphs
쉬움

Count Pairs With a Sum

Count pairs of positions whose values add up to a target.

배우는 내용 인덱스 쌍중복 세기 피하기
Arrays초급Learning-path중첩 반복문
쉬움

Days in a Month

Return how many days a month has, including leap years.

배우는 내용 달력 규칙도우미 함수
초급조건문함수Learning-path
어려움

Course Schedule Order

Order courses so every prerequisite comes first.

배우는 내용 칸 알고리즘사이클 감지
고급GraphsHackathonTopological-sort
어려움

히스토그램에서 가장 큰 직사각형

히스토그램 아래에 들어갈 수 있는 가장 큰 직사각형을 찾으세요.

배우는 내용 단조 스택넓이 계산
고급알고리즘 대회스택