#include #define rep(i, ss, ee) for (int i = ss; i < ee; ++i) using namespace std; double x, y, r, c; void input() { cin >> x >> y >> r; } void solve() { double root2 = sqrt(2); double c = hypot(x, y); int ans = ceil((2.0 * (c + r)) / root2); cout << ans << endl; } int main() { ios::sync_with_stdio(false); cin.tie(0); input(); solve(); getchar(); }