fork download
  1. #include <iostream>
  2.  
  3. int main() {
  4. if (-1)
  5. std::cout << "-1 is True";
  6. if (0)
  7. std::cout << "0 is True";
  8. return 0;
  9. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
-1 is True