Problem competition
User Duk168
Submission Time 2023-12-26 14:39:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

competition.cpp: In function ‘int main()’:
competition.cpp:23:33: error: ‘accumulate’ is not a member of ‘std’
23 | int maxCombinedScore = std::accumulate(physicsScores.begin(), physicsScores.begin() + a, 0)
| ^~~~~~~~~~
competition.cpp:24:33: error: ‘accumulate’ is not a member of ‘std’
24 | + std::accumulate(biologyScores.begin(), biologyScores.begin() + b, 0);
| ^~~~~~~~~~