fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int a = 1;
  7. int b = a >= 0 ? 1 : 2 * 10;
  8. cout << b;
  9. return 0;
  10. }
Success #stdin #stdout 0s 3140KB
stdin
Standard input is empty
stdout
1