🟢 Վարժություն 2

Գրել ծրագիր, որը մուտքում ստանում է 2 թիվ և տպում է դրանցից ամենափոքրը։
#include <iostream>
double min(/* your code here */) {
    // Put your code here 
}
int main() {
	double x, y;
  double res;
  std::cin >> x >> y;
  /* call min function here */
  std::cout << res;
  return 0;
}
 

Constraints

Time limit: 0.2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue