#include #include #include using namespace std; // convert an arbitrary x/y coordinate into a partial quadkey string string convert_to_quadkey(int x, int depth, int factor){ string res; while (depth--) res+=char('0'+factor*!!(x&(1<a) string subtract(string a,string b){ for (int i=0; i generate_possibilities(int from, int to, int basis, int length, int factor){ map res; for (int i=from; i>s; int n=s.length(); int m=n/2; // Print depth cout<