fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int x;
  7. float y;
  8. cin>>x>>y;
  9. if(x%5==0)
  10. {
  11. y=y-x-0.5;
  12.  
  13. }
  14. cout<<y;
  15. return 0;
  16. }
Success #stdin #stdout 0s 3472KB
stdin
Standard input is empty
stdout
1.74328e+13