0_0_32554835_32222.cpp: In function 'int main()': 0_0_32554835_32222.cpp:43:14: error: expected primary-expression before 'long' beated += long long(curmon.atk) * (curmon.ttk + curtime); ^