import java.util.Scanner;
public class cp2{
public static void main(String args[ ])
{
Scanner sc = new Scanner(System.in);
double b = sc.nextInt();
double a = sc.nextInt();
System.out.println((long)(Math.ceil(l/a)*Math.ceil(b/a)));
}
}
Solution of Codeforces-4A (Watermelon) Solution - https://www.techrcoding.com/2020/06/codeforces-4awatermelon-solution-in-java.html
No comments:
Post a Comment