public class Solution {
public int solution(int n) {
int answer = 0;
*** 이동 횟수 세기
while(n!=0) {
*** 도착 지점에서 0으로 이동이 끝나기 전까지 반복해라
if(n%2==0) n = n/2;
*** 현재 위치가 2로 나누어 떨어지면 순간이동하여라
else {
answer++;
n -= 1;
*** 순간이동이 불가능하다면 한 칸 앞으로 이동하고 이동 횟수 1 추가
}
}
return answer;
}
}
The registration process was super quick and the welcome bonus is actually legit. I am really enjoying the experience here so far on phgl777
[5701]bt222 login masuk dan daftar akaun slot online guna tng,bt222 menyediakan akses mudah untuk cara main casino live dan download apk slot mudah. Daftar sekarang untuk nikmati slot online guna tng dengan pantas. visit: bt222
[6463]Wazamba Login Oficial | Mejores Slots y Depósitos en OXXO,Wazamba ofrece acceso rápido a las mejores slots en vivo y la opción de descargar la app apk. Recarga fácil en OXXO y comienza a jugar ahora mismo. visit: wazamba
[5805]771pub Login: Casino Slots, Register Bonus & App APK Download,Join 771pub, the premier online casino in the Philippines! Login now to play top slots, claim your register bonus, and download the app APK for big wins on the go. visit: 771pub
[3159]Bienbet Login Oficial | Mejores Slots y Depósitos Instantáneos,Bienbet es tu destino para ganar en las mejores slots online México. Descarga la apk oficial, disfruta depósitos instantáneos y comienza a jugar ahora. visit: bienbet
[8823]Megapari লগইন ও অ্যাপ ডাউনলোড – বিকাশ ক্যাসিনো ডিপোজিট,megapari লগইন করুন এবং অ্যাপ ডাউনলোড করে অনলাইন স্লট গেম খেলার নিয়ম জানুন। বিকাশ দিয়ে ক্যাসিনো ডিপোজিট করে আজই খেলা শুরু করুন। visit: megapari
[2186]phbuwenas Official Login | Best Online Slots with GCash Bonus,phbuwenas offers a seamless app download and easy GCash deposits. Learn how to play baccarat and enjoy the top slots in the Philippines. Join the action today! visit: phbuwenas