fork download
  1. #include <iostream>
  2. #include <cmath>
  3.  
  4. void foo(double x, double y)
  5. {
  6. double cx = cos(x);
  7. double cy = cos(y);
  8. std::cout << cx << std::endl;
  9. if (cx != cy)
  10. std::cout << "Я знаю точно невозможное возможно";
  11. }
  12.  
  13. int main()
  14. {
  15. foo(1.0, 1.0);
  16. return 0;
  17. }
Success #stdin #stdout 0.02s 2724KB
stdin
Standard input is empty
stdout
0.540302
Я знаю точно невозможное возможно