题解 | #KiKi和酸奶#
KiKi和酸奶
http://www.nowcoder.com/practice/c7721f3a1b1a47a783974453e82cadbb
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int h=sc.nextInt(); int m=sc.nextInt(); if(m%h!=0) { System.out.println(n-(m/h)-1); } else{ System.out.println(n-(m/h)); } } }