fork download
  1. #include <iostream>
  2. int main() {
  3. int a = 2;
  4. int b = 3;
  5. int c = 0;
  6. //jak true//jak false
  7. std::cout << "min:"<<((a<b)? a : b);
  8. return 0;
  9. }
Success #stdin #stdout 0s 3140KB
stdin
Standard input is empty
stdout
min:2