fork download
  1. #include <iostream>
  2.  
  3.  
  4. int main() {
  5. double x = 0;
  6. for (int i = 0; i < 10; ++i)
  7. x += 0.1;
  8. std::cout << (x == 1);
  9. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
Standard output is empty