fork download
  1. #include <iostream>
  2. #include <cmath>
  3. using namespace std;
  4.  
  5. int main(){
  6. double x=std::sqrt(-1);
  7. std::cout << std::boolalpha << ( x==x+1 ) << '\n';
  8. }
  9.  
Success #stdin #stdout 0s 2896KB
stdin
Standard input is empty
stdout
false