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;
}
}
I’ve been playing here for a few weeks and the payout is surprisingly fast. Definitely one of the smoothest experiences I’ve had lately. Check out krphlwin for a great time!
[9837]avator লগইন এবং অ্যাপ ডাউনলোড | বিকাশ ক্যাসিনো ডিপোজিট,avator লগইন করুন এবং সহজেই অ্যাপ ডাউনলোড করে অনলাইন স্লট গেম নিয়ম শিখে নিন। বিকাশ দিয়ে ক্যাসিনো ডিপোজিট করে আজই খেলা শুরু করুন। visit: avator
[6453]Windream login ph – legit online slots at live casino gcash,Mag-windream login ph na para sa legit online slots gcash. I-download ang windream app at alamin kung paano maglaro ng baccarat. Sali na at mag-enjoy! visit: windream
Everything feels very intuitive here. I didn’t even need a tutorial to get started. Simple and effective gaming at betakibet
Love the variety of games available here. It keeps things exciting and there is always something new to try. Highly recommend qq8bet
[1100]jackcasino লগইন এবং অ্যাপ ডাউনলোড | লাইভ ডিলার ক্যাসিনো গেম,jackcasino লগইন করুন এবং বিকাশ দিয়ে ক্যাসিনো ডিপোজিট করে উপভোগ করুন অনলাইন স্লট গেম ট্রিকস ও লাইভ ডিলার গেম। আজই অ্যাপ ডাউনলোড করে শুরু করুন। visit: jackcasino
I love the lottery style games here. It is a great way to unwind after work and maybe win something big. brlottus is my go-to site now.
I like how transparent they are with their terms and conditions. No hidden traps here. I feel safe playing at pub7774777pub.
I was skeptical at first, but after a few wins, I’m totally sold. vnzj88 offers a really fair gaming environment for everyone.
The atmosphere of this site is just wonderful. It feels like a real casino right from my living room. Five stars for m3fcassino