#include #include using namespace std; int main(void){ //input int xp,yp; cin >> xp >> yp; //calc double rad; rad = sqrt((abs(xp) * abs(xp))+(abs(yp) * abs(yp))); //output cout << (int)rad + 1 << endl; }