WORK #3

mail@pastecode.io avatar
unknown
c_cpp
7 months ago
191 B
0
Indexable
Never
#include <iostream>
#include <vector>

using namespace std;

long long n, m, s;

long long get_ans(long long a, long long b) {
    return max((n / a) * (m / b), (n / b) * (m / a));
}