题目解析
给定需要培养的钻石 以及 培养速度 求 需要的时间
解题思路
总量 / 速度 = 天数
代码
import java.io.*;
import java.math.*;
import java.util.*;
public class Main
{
public static void main(String[] args)
{
int n = sc.nextInt();
int v = sc.nextInt();
out.println(n / v);
out.flush();
out.close();
}
static Scanner sc = new Scanner(System.in);
static PrintWriter out = new PrintWriter(System.out);
}