package 钢材截断; public class 钢材截断 { public static void main(String[] args) { // TODO Auto-generated method stub int a = 2000; int i; for(i = 0; a >= 5 ; i++) { a = a/2; } System.out.print(i); } }