fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. double a = 0.1 + 0.2;
  6. double b = 0.3;
  7.  
  8.  
  9. cout<<(a == b)<<endl;
  10.  
  11. return 0;
  12. }
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
0