#include "bits/stdc++.h" #define in std::cin #define out std::cout #define rep(i,N) for(LL i=0;i> P >> Q >> A; LL left = 0, right = 1000000001; while (right - left > 1) { auto mid = (left + right) / 2; if (check(mid)) left = mid; else right = mid; } LL ans = left; for (LL x = left; x >= left - 100000000; --x) { if (x <= 0) break; LL res1 = (1 + P / 100) * x; LL res2 = (1 + Q / 100) * x + A; if (res1 >= res2) --ans; } for (LL x = left + 1; x <= left + 100000000; ++x) { if (x > 1000000000) break; LL res1 = (1 + P / 100) * x; LL res2 = (1 + Q / 100) * x + A; if (res1 < res2) ++ans; } out << ans << std::endl; }