class Solution {
public int[] solution(String s) {
int del = 0; // 0 삭제 횟수
int cnt = 0; // 규칙 반복 횟수
while(true) {
cnt++;
// 반복 횟수 +1
String s_now = s.replaceAll(“0”, “”);
// x의 모든 0을 제거합니다.
del += s.length()-s_now.length();
// 삭제한 0 갯수 세기
if(s_now.equals(“1”)) break;
// s가 “1”이 되어 결과값 반환
s = Integer.toBinaryString(s_now.length());
// x의 길이를 c라고 하면, x를 “c를 2진법으로 표현한 문자열”로 바꿉니다.
}
int[] answer = {cnt, del};
return answer;
}
}
Quick deposits and even quicker withdrawals. That is all I really care about and this place nails it. Big shoutout to vnft168 for the great service.
Best slot games I have found in the Philippines recently. The interface is very friendly for mobile users. Love phjilibet019!
[9916]Nordicbet Official Login | Best Online Slots with GCash Deposit,Nordicbet offers a seamless gaming experience. Download the app to enjoy top baccarat strategies and fast GCash deposits. Join now for the best online action. visit: nordicbet
[7881]23win123 – Đăng Nhập, Đăng Ký & Tải App Casino Trực Tuyến Uy Tín,23win123 là nền tảng casino trực tuyến uy tín hàng đầu. Đăng ký tài khoản, đăng nhập nhanh chóng và tải app 23win123 ngay hôm nay để trải nghiệm cá cược đẳng cấp! visit: 23win123
[4175]Quickwin | Link vào tải app và chơi slots nổ hũ online,Truy cập quickwin để trải nghiệm game slots nổ hũ, học cách chơi baccarat online và nạp tiền qua momo casino nhanh chóng. Đăng ký tài khoản ngay hôm nay. visit: quickwin
[7872]Richi Casino México: Registro, Descarga de APK y Bono de Bienvenida,¡Únete a Richi Casino México! Regístrate hoy mismo, descarga nuestra APK oficial y aprovecha el mejor bono de bienvenida para empezar a ganar. Diversión y apuestas seguras en un solo lugar. visit: richi
[7932]afum Login Oficial | Mejores Slots Online y Depósitos OXXO,afum ofrece acceso rápido a las mejores slots y blackjack. Descarga la apk oficial y realiza tus depósitos fácilmente con OXXO. Regístrate y comienza a jugar ahora. visit: afum
[7436]Bajibet অফিসিয়াল লগইন | বিকাশ পেমেন্ট ও সেরা ক্যাসিনো বোনাস,bajibet অ্যাপ ডাউনলোড করে সেরা স্লট গেমের অভিজ্ঞতা নিন। বিকাশ দিয়ে সহজ পেমেন্ট এবং আকর্ষণীয় অনলাইন ক্যাসিনো বোনাস পেতে আজই জয়েন করুন। visit: bajibet