#include #include"testlib.h" using namespace std; using ll = long long; const ll HWmin = 1, HWmax = 1'000'000; const ll Kmin = 1, Kmax = 1'000'000'000'000'000'000LL; int main(){ registerValidation(); ll H = inf.readLong(HWmin,HWmax); inf.readSpace(); ll W = inf.readLong(HWmin,HWmax); inf.readEoln(); ll K = inf.readLong(Kmin,Kmax); inf.readEoln(); inf.readEof(); assert(H * W <= HWmin); return 0; }