Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- double n, m, a;
- n = int.Parse(Console.ReadLine());
- m = int.Parse(Console.ReadLine());
- a = int.Parse(Console.ReadLine());
- int result = (long)ceil(n / a) * (long)ceil(m / a);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement