Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_872_10379_6486.cpp: In function 'int main()':
1_872_10379_6486.cpp:54:18: error: expected primary-expression before 'long'
   ans = max(ans, long long(a * i - b * (i - nex[i])));
                  ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-04-15 20:07:10, Gzip enabled