java
参考:https://blog.nowcoder.net/n/48794a1e3d744713b486f7413da63a40
import java.util.Scanner;
// 注意类名必须为 Main, 不要有任何 package xxx 信息
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int t=in.nextInt();
while (t-->0) {
int a=in.nextInt();
int b=in.nextInt();
int c =in.nextInt();
System.out.println(Math.pow((double)a/16,16)+(Math.pow((double)b/16,4)+Math.pow((double)c/16,4))*Math.pow((double)a/16,12)*16*15*14*13/(4*3*2*1));
}
}
}

京公网安备 11010502036488号