A

#include <map>
#include <set>
#include <list>
#include <cmath>
#include <ctime>
#include <deque>
#include <stack>
#include <queue>
#include <cctype>
#include <cstdio>
#include <string>
#include <vector>
#include <climits>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <algorithm>
#define LL long long
#define PI 3.1415926535897932626
using namespace std;
int gcd(int a, int b) {return a % b == 0 ? b : gcd(b, a % b);}
int n,k,l, c,d,p,nl,np;
int main()
{
        while (cin >> n >> k >> l >> c >> d >> p >> nl >> np)
        {
                int a1 = k * l / nl;
                int a2 = p / np;
                int a3 = c * d;
                cout << min(a1,min(a2,a3)) / n << endl;
        }
        return 0;
}
View Code

相关文章:

  • 2021-08-12
  • 2021-06-13
  • 2021-11-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-01
  • 2022-01-01
  • 2021-12-29
  • 2022-02-09
  • 2021-05-30
  • 2021-06-05
相关资源
相似解决方案