如果你输入的时候:
for(int i = 1;i <= n;i++) scanf("%lld", &w[i]);
但在枚举时:
for(int j = 0;j <= n - 1;j++){
你可以 AAA 10个点但是会死命调不出来!!!
下标没对齐!!!!