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