#include #define int32 int32_t int32 solve(int32 N, int32 M, int32 K) { return (N / K) * (M / K); }