[AlgorithmCodeKata] 2026-03-09 | 크기가 작은 부분 문자열
·
AlgorithmCodekata
https://school.programmers.co.kr/learn/courses/30/lessons/86491 프로그래머스SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr1. 의사 코드작은 값을 높이로, 큰값을 넓이로 임시저장기존 maxW, maxH 보다 높은 값일 경우, 해당 값을 저장마지막으로 두 값을 곱해서 answer로 리턴 2. 제출 코드#include #include using namespace std;int solution(vector> sizes) { int answer = 0; int maxW = 0; int maxH = 0; for ( auto size : sizes) { ..