fork download
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3.  
  4.  
  5.  
  6. int main() {
  7. int a,b,n;
  8. cin>>n>>a>>b;
  9.  
  10. cout<<n-a+b<<'\n';
  11. }
  12.  
  13.  
  14.  
  15.  
Success #stdin #stdout 0.01s 5380KB
stdin
Standard input is empty
stdout
1199260798