#include #include #include using namespace std; int main(void){ int d[2],x,y; cout << "? 0 0" << endl << flush; cin >> d[0]; cout << "? 1 0" << endl << flush; cin >> d[1]; // x^2+y^2=d[0],x^2-2*x+1+y^2=d[1] x = (d[0]-d[1]+1)/2; y = sqrt((d[0]-x*x)/2); cout << "! "+to_string(x)+" "+to_string(y) << endl <