728x90
반응형
SMALL
#include <string>
#include <vector>
using namespace std;
int solution(int n, int t) {
for(int i=0; i<t;i++)
n *=2;
return n;
}
728x90
반응형
LIST
'C++' 카테고리의 다른 글
[프로그래머스] 자릿수 더하기 (0) | 2025.09.03 |
---|---|
[프로그래머스] 최댓값 만들기 (0) | 2025.09.03 |
[프로그래머스] 편지 (0) | 2025.09.02 |
[프로그래머스] 뒤집힌 문자열 (0) | 2025.09.02 |
[프로그래머스] 짝수 홀수 개수 (0) | 2025.09.02 |
댓글