fork download
  1. #include <iostream>
  2. #define MIN(a,b) ([x=(a),y=(b)](){return x<y?x:y;})()
  3.  
  4. int main() {
  5. std::cout << MIN(5, 7) << std::endl;
  6. return 0;
  7. }
  8.  
Success #stdin #stdout 0s 4556KB
stdin
Standard input is empty
stdout
5