#include <iostream>

using namespace std;

int main() {
    int a,b,v;
    cin >> a >> b >> v;

    if (a-b + a-b >= v) {
        cout << 2;
        return 0;
    }
    cout << (a-b / (b - a)) + 1;
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: