프로그래머스7 [프로그래머스 Lv.1] 택배 상자 꺼내기(C++) 문제https://school.programmers.co.kr/learn/courses/30/lessons/389478 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr코드#include #include #include using namespace std;int solution(int n, int w, int num) { int answer = 0; vector>v; int h=(n-1)/w+1; int x=1; for(int k=0;klist; for(int i=1;in){ for(int i=0;i 2025. 3. 20. 이전 1 2 다음