Problem potatosalad
User CalebKow
Submission Time 2025-06-23 04:36:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potatosalad.cpp: In function ‘int main()’:
potatosalad.cpp:18:31: error: ‘vec’ was not declared in this scope
18 | std::cout << std::accumulate(vec.begin(), vec.begin()+d+1, 0);
| ^~~