fork download
  1. #include <iostream>
  2. #include <cmath>
  3.  
  4. void foo(double x, double y)
  5. {
  6. double a=std::cos(x);
  7. double b=std::cos(y);
  8. if (a != b)
  9. std::cout << "This cannot be!";
  10. }
  11.  
  12. int main()
  13. {
  14. foo(1.0, 1.0);
  15. return 0;
  16. }
Success #stdin #stdout 0s 2852KB
stdin
Standard input is empty
stdout
This cannot be!