fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int x, y;
  7. cin >> x >> y;
  8. bool a = y == 9;
  9. bool b = x == 5;
  10.  
  11. if (a or b) {
  12. cout << "or!";
  13. } else {
  14. cout << "or?";
  15. }
  16.  
  17. return 0;
  18. }
Success #stdin #stdout 0s 15232KB
stdin
1234
5
stdout
or?