fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main() {
  4. double x, y;
  5. cin >> x >> y;
  6. bool f = (x > 0 && y < 0);
  7. cout << f;
  8.  
  9. }
Success #stdin #stdout 0.01s 5276KB
stdin
-1 -2
stdout
Standard output is empty