Saleh127

Untitled

May 6th, 2020
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. #define ll long long
  4. int main()
  5. {
  6. ll a,c,d,e,f,i,j,k,l;
  7. cin>>a>>c>>d;
  8. e=a-c-d;
  9. f=a-c*d;
  10. cout<<min(e,f)<<endl;
  11. return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment