카카오/2020 카카오 인턴십 (2) 썸네일형 리스트형 [C++] 2020 카카오 인턴십 - 수식 최대화 https://school.programmers.co.kr/learn/courses/30/lessons/67257 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr #include int value[3]; bool used[3]; std::unordered_map prior; std::string toPostfix(std::string expression) { std::string postfix; std::stack st; std::string num; /* 1. 숫자는 그대로 출력한다. 2. 만약 스택이 비어있다면 연산자를 그냥 스택에 넣는다. 3. (스택.. [C++] 2020 카카오 인턴십 - 키패드 누르기 https://school.programmers.co.kr/learn/courses/30/lessons/67256 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr #include int dist(int hy, int hx, int ny, int nx){ return std::abs(hy - ny) + std::abs(hx - nx); } std::string solution(std::vector numbers, std::string hand) { int ly = 3, lx = 0; int ry = 3, rx = 2; std::string answer = ".. 이전 1 다음