func_code_string: #include <bits/stdc++.h>   using namespace std;   inline int toInt(string s) {     int v;     istringstream sin(s);     sin >> v;     return v;   }   template <class T>   inline string toString(T x) {     ostringstream sout;     sout << x;     return sout.str();   }   const double EPS = 1e-10;   const double PI = acos(-1.0);   vector<int> x, y;   int xo, yo;   int n, d;   int dp[1000][1000];   int sqr(int a) { return a * a; }   int dfs(int x1, int y1) {     if (sqr(x1) + sqr(y1) > sqr(d)) return dp[x1 + 500][y1 + 500] = 1;     if (dp[x1 + 500][y1 + 500] != -1) return dp[x1 + 500][y1 + 500];     for (int i = (0); i < (int((x).size())); ++i)       if (!dfs(x1 + x[i], y1 + y[i])) return dp[x1 + 500][y1 + 500] = 1;     return dp[x1 + 500][y1 + 500] = 0;   }   int main(int argc, char *argv[]) {     ios::sync_with_stdio(false);     memset(dp, -1, sizeof dp);     cin >> xo >> yo >> n >> d;     for (int i = (0); i < (n); ++i) {       int xi, yi;       cin >> xi >> yi;       x.push_back(xi);       y.push_back(yi);     }     if (dfs(xo, yo))       cout <<  Anton  << endl;     else       cout <<  Dasha  << endl;     return 0;   }   