Algorithm/프로그래머스

보호되어 있는 글입니다.
#include #include #include using namespace std; int solution(int n) { int answer = 0; for(int i = 0; n > 3; i++){ answer+=(n%3)*pow(3,@-i); n=n/3; if(n
suntall
'Algorithm/프로그래머스' 카테고리의 글 목록 (2 Page)