[挑战]侮辱你的智商 之 长整除问题
继续侮辱你的智商[UseMoney=20]
public class Test {
public static void main(String[] args){
final long FIRST_DAY = 24 * 60 * 60 * 1000 * 1000;
final long SECORD_DAY = 24 * 60 * 60 * 1000;
System.out.println( FIRST_DAY / SECORD_DAY );
}
}
public static void main(String[] args){
final long FIRST_DAY = 24 * 60 * 60 * 1000 * 1000;
final long SECORD_DAY = 24 * 60 * 60 * 1000;
System.out.println( FIRST_DAY / SECORD_DAY );
}
}
[/UseMoney]
同样是找出错误并且提出解决方案。