Problem dogfood
User qwertyuiop
Submission Time 2026-05-29 16:00:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dogfood.cpp: In function ‘int main()’:
dogfood.cpp:46:36: error: too many arguments to function ‘int maxSubarraySum(std::vector<int>&)’
46 | cout << maxSubarraySum(a, N);
| ^
dogfood.cpp:20:5: note: declared here
20 | int maxSubarraySum(vector<int> &arr) {
| ^~~~~~~~~~~~~~