fork download
  1. #include <iostream>
  2. #include <algorithm>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. int a=4,b=2,c=1,d=5,e=3;
  9. cout << std::max({a,b,c,d}) << endl;
  10.  
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
5