fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main ()
  4. {
  5. long long a,b,c,d;
  6. cin >>a >>b >>c >>d;
  7. cout <<min(min(a,b),min(c,d));
  8. }
Success #stdin #stdout 0s 5624KB
stdin
-243 
-543 
-123 
232
stdout
-543