0_0_13966551_20634.cpp: In function 'int main()': 0_0_13966551_20634.cpp:19:25: error: expected primary-expression before 'long' long long ans = long long(x-1) ;//数量变的话,总价是不会变的,所以要变到最终的x,至少也要变x-1次 ^