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