//蚱蜢问题 #include<iostream> #include<vector> #include<deque> using namespace std; int main() { int n; while (cin >> n) { deque<int>d; d.push_back(0); int count = 0; int find = false; while (!find) { int k=0; while (k<pow(2,count)) { if (d.fr...