Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<bits/stdc++.h>
- using namespace std;
- #define fastread()(ios_base::sync_with_stdio(false),cin.tie(NULL));
- int main()
- {
- int a,b,c;
- fastread();
- cin>>a>>b>>c;
- double x= (double)c*(double)a/100;
- int ans= ceil(x);
- if(ans>b)ans-=b;
- else ans=0;
- cout<<ans<<endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement