#define _CRT_SECURE_NO_WARNINGS #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef string::const_iterator State; #define Ma_PI 3.141592653589793 #define eps 1e-5 #define LONG_INF 2000000000000000000LL #define GOLD 1.61803398874989484820458 #define MAX_MOD 1000000007LL #define GYAKU 500000004LL #define MOD 998244353LL #define seg_size 262144 #define REP(a,b) for(long long a = 0;a < b;++a) int main() { #define int long long int p, q, a; cin >> p >> q >> a; int ans = 0; int te = 400000000; for (long long i = 1; i <= te; ++i) { int ten = (100LL + p) * i; ten /= 100LL; int soto = (100LL + q) * i; soto /= 100LL; soto += a; if (ten < soto) { ans++; } } if (p < q) { ans += 1000000000 - te; } cout << ans << endl; }