#include using namespace std; int main() { int p, q, a; cin >> p >> q >> a; if (p < q) { cout << (int)1e9 << '\n'; return 0; } if (p == q) { if (a) { cout << (int)1e9 << '\n'; } else { cout << 0 << '\n'; } return 0; } assert(false); int res = 0; for (int r = 1; r <= 100; ++r) { int num = a - (p * r / 100 - q * r / 100); int den = p - q; res += max((num + den - 1) / den, 0); } cout << res << '\n'; }