本文共 502 字,大约阅读时间需要 1 分钟。
public class Test01_切面条 { public static void main(String[] args) { //TODO: 面条根数始终和切点数差 1 // 折数 切点数 面条根数 // 0 1 2^0 2 // 1 2 2^1 3 // 2 4 2^2 5 // 3 8 2^3 9 int count = (int) (Math.pow(2,10)+1); System.out.println(count); // 1025 }}
转载地址:http://iceq.baihongyu.com/