```cpp
#include
#include
#include
using namespace std;
long long total;
long long depth=0;
string testS;
long long ans;
//2~ 3:24
string numberTo01(long long num){
string tmp="";
while(num>0){
if(num%2==1)
tmp ='1'+tmp;
else
tmp= '0' + tmp;
num/=2;
}
return tmp;
}
long long findDepth(int n){
int n2=1;
int d=0;
int tt=0;
while(n>0){
n-=n2;
tt+=n2;
n2*=2;
d++;
}
total= tt;
return d;
}
bool isAllDummy(int start, int end) {
for (int i = start; i solution(vector numbers) {
vector answer;
for(int i=0;i
🔗 표현 가능한 이진트리