Solution to the problem number 919A of Codeforces - 919A.

Any questions do not hesitate to contact.

#include <bits/stdc++.h>
#define INF 0x3F3F3F3F
using namespace std;

int main() {
    double a,b,n,c,res=INF;
    cin>>n>>c;
    while(n--)
    {
        cin>>a>>b;
        res=min(res,(c*a)/b);
    }
    printf("%.8lf\n",res);
    return 0;
}


Don't miss anything.

Keep in touch with Isaac Lozano Osorio!