AhmedAshraff

Untitled

Aug 1st, 2025
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.41 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2.  
  3. using namespace std;
  4. typedef long long ll;
  5. #define sz(s) (int)(s).size()
  6. #define all(s) s.begin(),s.end()
  7.  
  8. void Speed() {
  9.     ios_base::sync_with_stdio(false);
  10.     cin.tie(NULL);
  11. }
  12.  
  13. void solve() {
  14.     int n,a,b;
  15.     cin>>n>>a>>b;
  16.     cout<<n-a-b;
  17. }
  18.  
  19. int main() {
  20.     Speed();
  21.     int tc = 1;
  22.     //cin >> tc;
  23.     while (tc--) {
  24.         solve();
  25.     }
  26.     return 0;
  27. }
Advertisement
Add Comment
Please, Sign In to add comment