fork download
  1. #include <iostream>
  2. #include <cmath>
  3.  
  4. int main() {
  5. std::cout << std::sqrt(-1.0) << '\n';
  6. return 0;
  7. }
Success #stdin #stdout 0s 15232KB
stdin
Standard input is empty
stdout
-nan